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

本站现有博文323篇,共被浏览795693

本站已经建立2493天!

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