M.-A. Lemburg writes: > I believe that it creates the directory (distutils has a make_path() > API for this), but having it there for testing would sure help > in figuring out what to do. Please keep in mind that distutils > has to work with Python versions 1.5.2, 2.0 and 2.1. Yes; the os.path.isdir(...) seems the right test for this. > Also, I think that it is cleaner to have existing directories > on sys.path. Indeed, it may be worthwhile having Python eliminate > non-existing dirs at startup time (i.e. in site.py). It should be doing that now. If not, please file a bug report and assign it to me. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Digital Creations
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4