If I have both the directory 'module' and the file 'module.py' in a directory in $PYTHONPATH, python will import 'module' rather than 'module.py'. I'm wondering what is the design rationale of setting higher priorities to directories. Is there a way to reverse the priority? -- http://mail.python.org/mailman/listinfo/python-list
- Why 'import module' will not import module.py but the director... Peng Yu