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

本站现有博文319篇,共被浏览749736

本站已经建立2402天!

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