EADST

Python: Obtain File Information and Size

Python: Obtain File Information and Size

import os

path = "/data/test.zip"
file_info = os.stat(path)
print(file_info)
file_size = os.path.getsize(path))
print(file_size)
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
TTS llama.cpp TensorFlow RL Miniforge API OpenCV 图形思考法 递归学习法 搞笑 git-lfs SQLite BF16 tar FastAPI Random Google Quantization Pandas v2ray BTC Bert Gemma FP32 COCO PDF Land Proxy Animate GPTQ PIP Django Llama Excel 继承 Markdown 多进程 Search Paddle VPN 签证 财报 CSV CEIR Statistics 顶会 Vim 阿里云 Use Attention 长期记忆 Jetson Tracking uWSGI Michelin Data JSON Qwen2.5 自我改进 ChatGPT 信用卡 Translation Agent MD5 Vmess Pillow Disk CTC v0.dev 净利润 关于博主 LeetCode Bitcoin UNIX Freesound printf OpenAI Card SQL VSCode Jupyter FP8 git 第一性原理 Permission Ubuntu Python Nginx Distillation SVR 个人博客 Bin IndexTTS2 UI TensorRT 强化学习 GoogLeNet hf icon Jev Math TSV Color Cloudreve Algorithm Interview Base64 Breakpoint Transformers Password QWEN BeautifulSoup 报税 GGML Git InvalidArgumentError Heatmap SPIE torchinfo WAN FlashAttention Video transformers 云服务器 RGB 论文 Streamlit Mixtral Magnet DeepStream PDB HaggingFace CC Claude ModelScope Conda Firewall 域名 PyCharm CAM scipy XML YOLO Github ms-swift CLAP Docker Plate SAM Hungarian Plotly Tiktoken Numpy 版权 Crawler NLTK Safetensors WebCrawler Food 公式 Shortcut FP16 图标 Harness mmap Knowledge GIT Qwen2 API网关 Windows VGG-16 FP64 Domain Rebuttal Dataset diffusers EXCEL tqdm HuggingFace Image2Text Qwen 算法题 证件照 DeepSeek PyTorch 论文速读 NameSilo Augmentation uwsgi Input CUDA Logo 多线程 Website Datetime Sklearn CV 腾讯云 News Pickle LLM logger Clash Hotel ONNX Tensor XGBoost Baidu Web Zip Review Diagram Paper 音频 ResNet-50 RAR Bipartite AI Hilton Quantize 飞书 Template Ptyhon LLAMA Linux C++ GPT4 NLP LoRA OCR Pytorch Anaconda LaTeX
站点统计

本站现有博文341篇,共被浏览1047840次

本站已经建立2729天!

热门文章
文章归档
回到顶部