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

本站现有博文340篇,共被浏览1018380次

本站已经建立2718天!

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