首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
Python 找某个文件夹下某些文件的路径有什么好的方法么
Inn0cence
·
2017-01-16 18:28:34 +08:00
· 1005 次点击
这是一个创建于 2950 天前的主题,其中的信息可能已经有所发展或是发生改变。
有一个 TXT 文件里存着 1.jpg 、 2.jpg 若干个文件 这些文件分散在 C 盘不同的文件夹内
假如我需要找我在 C 盘目录下的这些文件 想得到如下结果
1.jpg :路径
…………
除了遍历外有啥高效点的方式么?
目前尚无回复
文件
夹内
遍历
路径
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
3537 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 10:42
·
PVG 18:42
·
LAX 02:42
·
JFK 05:42
Developed with
CodeLauncher
♥ Do have faith in what you're doing.