推荐学习书目
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
Inn0cence
V2EX  ›  Python

Python 找某个文件夹下某些文件的路径有什么好的方法么

  •  
  •   Inn0cence · Jan 16, 2017 · 1273 views
    This topic created in 3409 days ago, the information mentioned may be changed or developed.
    有一个 TXT 文件里存着 1.jpg 、 2.jpg 若干个文件 这些文件分散在 C 盘不同的文件夹内
    假如我需要找我在 C 盘目录下的这些文件 想得到如下结果
    1.jpg :路径
    …………

    除了遍历外有啥高效点的方式么?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5628 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 02:34 · PVG 10:34 · LAX 19:34 · JFK 22:34
    ♥ Do have faith in what you're doing.