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

本站现有博文328篇,共被浏览840108

本站已经建立2544天!

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