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

本站现有博文333篇,共被浏览914723

本站已经建立2618天!

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