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

本站现有博文339篇,共被浏览996110次

本站已经建立2706天!

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