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

本站现有博文311篇,共被浏览742104

本站已经建立2381天!

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