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项目——飞机大战!

opencv-python 怎么读取视频以及获得视频的相应参数

Python制作GUI小软件,VIP电影输入链接就能看。

python123测验答案第七周_Python123第七周作业+练习题

Python那些优质可视化工具!

python编程中中文输出乱码UnicodeEncodeError: ‘ascii’ codec can’t encode character解决方案

python数据与挖掘实战学习:第五章挖掘建模 时序模式部分笔记

【python–教程】pyautogui图形自动化,击败重复性办公任务。

python绘制一个简单的函数图像使用到了matplotlib库和numpy库

Python multiprocessing 模块

Python中Collections模块namedtuple用法

【自学Python】Python bytes类型

全文检索python

anaconda python 如何换源

Python程序设计基础:程序流程控制(一)

python-套接字基础与 UDP 通信

python实现堆排序

python数据可视化(二)读取csv数据绘制条形图

yocto 如何添加python module

python整数拆分成几个数的和_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
关闭菜单