commit | d29806c37e69042bb6dcaded85beaeef790db605 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Jan 19 22:06:22 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Jan 19 22:06:22 1998 +0000 |
tree | dbf3b72725fa30efa0ac72e33d8224aed92abac3 | |
parent | 73bacfc3d7d00a4f3473c9d5bed276c958b40afb [diff] |
Instead of a single exists(), differentiate between files, modules, executable files, and directories. When expecting a module, we also look for the .pyc or .pyo file.