how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py

Dave Angel d at davea.name
Tue Sep 11 18:57:19 EDT 2012


On 09/11/2012 03:13 PM, ruck wrote:
> <snip>
>
> I'm not sure how I could have known that ntpath was already imported, since *I* didn't import it, but that was the key to my confusion.
>

import sys
print sys.modules



-- 

DaveA




More information about the Python-list mailing list