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

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

本站已经建立2597天!

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