"Phillip J. Eby" <pje at telecommunity.com> wrote in message news:5.1.1.6.0.20060426164925.01e33228 at mail.telecommunity.com... >>It might also be good to check that the directory actually contained >>python >>modules. > > This is a great idea, but might be hard to implement in practice with the > current C implementation of import, at least for the general case. Perhaps checking and autogeneration of __init__.py should better be part of a Python-aware editor/IDE. A File menu could have a New Package entry to create a directory + empty __init__.py. Terry Jan Reedy
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