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

本站现有博文332篇,共被浏览875532

本站已经建立2583天!

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