Skip to content
小飞侠
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
菜单

博客

  1. 首页>
  2. python>
  3. python获取文件属性

python获取文件属性

  • Post author:xfxia
  • Post published:2023年12月25日
  • Post category:python


获取文件属性
#coding=utf-8
import
time import os file_path = r'D:\安装包\传智播客python\1第一天\01-课程介绍.mp4' #读取的文件路径 file_path = file_path.decode('utf-8') statinfo=os.stat(file_path)

转载于:https://www.cnblogs.com/tester-go/p/7778223.html


你可能也喜欢

Python学习之—求100以内素数的八种解法

人脸表情识别和情绪分类 | Python+TensorFlow(框架)+Keras+PyQt5

python+requests 搭建api自动化测试框架(源码免费下载)

PyQt5中异步刷新UI和Python中的多线程总结

Python数据分析学习 一

python中,用input()输入一个整数

data在python_Fake data的使用和产生 – Python篇

Wxpython 让页面自动滑到底部

python 图像存储路径批量读取

【python】输出列表元素,以空格/逗号为分隔符

zabbix增加手机短信、邮件监控的注意要点,SSL邮件发送python脚本

如何用 Python 做自动化测试,你真的知道吗?

windows 下Python解压rar文件 报错Cannot find working tool

Python tqdm 进度条库的基本使用

【Python】openpyxl单元格合并

【Python】【难度:简单】Leetcode 1351. 统计有序矩阵中的负数【完】

python idle重复上一条命令,如何在python解释器外壳中重复最后一个命令?

Python编程基础之九错误和异常

python import win32api报错问题的解决

python中的类、继承、重写

目录

  • APICloud (3)
  • golang (228)
  • java (8,236)
  • linux (4,002)
  • mysql (2,800)
  • php (1,070)
  • python (5,439)
  • solidity (25)
  • uniapp (235)
  • vue (2,463)
  • 其他 (88,233)
  • 小程序 (801)

文章归档

  • 2023年十二月 (1872)
  • 2023年十一月 (477)
  • 2023年十月 (17371)
  • 2023年九月 (44974)
  • 2023年八月 (26399)
  • 2023年七月 (14793)
  • 2023年六月 (1)
  • 2023年五月 (2186)
  • 2023年四月 (3838)
  • 2023年三月 (1544)
  • 2023年二月 (3)
  • 2023年一月 (4)
  • 2022年十二月 (3)
  • 2022年十一月 (36)
  • 2022年十月 (16)
  • 2022年九月 (8)
  • 2021年九月 (1)
  • 2020年九月 (6)
  • 2020年八月 (5)

标签

Aave (1) cosmos (6) defi (255) flag (27) gitee (1) github (1) golang (234) java (8234) linux命令 (82) List (1) map (1115) mysql (3093) npm (237) tendermint (6) uuid (43) vant (64) vmware (270) 区块链 (63) 合约 (37) 小程序版本更新 (3)
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
Copyright xfxia.com 鲁ICP备19024253号-2
关闭菜单