alex_bn_lee

导航

2018年4月8日 #

【308】Python os.path 模块常用方法

摘要: 参考:Python os.path 模块 参考:python3中,os.path模块下常用的用法总结 getctime abspath basename dirname exists getatime getctime getmtime getsize isabs isdir isfile isli 阅读全文

posted @ 2018-04-08 22:02 McDelfino 阅读(414) 评论(0) 推荐(0)

【307】◀▶ Python 相关功能实现

摘要: 目录: 1. Python 实现下载文件 2. 删除文件名中的点 “.” 3. 让 Python 脚本暂停执行的方法 4. 添 1. Python 实现下载文件 使用 urllib 模块提供的 urlretrieve() 函数。urlretrieve() 方法直接将远程数据下载到本地。 语法如下所示 阅读全文

posted @ 2018-04-08 20:55 McDelfino 阅读(324) 评论(0) 推荐(0)