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

本站现有博文321篇,共被浏览782204

本站已经建立2475天!

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