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

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

本站已经建立2583天!

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