首页 > 编程语言 > 详细

python

时间:2019-11-11 17:49:45      阅读:94      评论:0      收藏:0      [点我收藏+]

(1) 

 import pathlib

 path_hello=pathlib.Path(‘F:\hello.py‘)
 print(path_hello)

 ======================================================================

path_hello中是路径

 

(2)

 keras.utils.get_file(fname, origin, untar=False, md5_hash=None, file_hash=None, cache_subdir=‘datasets‘, hash_algorithm=‘auto‘, extract=False, archive_format=‘auto‘, cache_dir=None)

 ========================================================================

Downloads a file from a URL if it not already in the cache.

 (3)

 Path.iterdir()

 ========================================================================

When the path points to a directory, yield path objects of the directory contents:

python

原文:https://www.cnblogs.com/shencangzaiyunduan/p/11836923.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!