directory path access
peter at engcorp.com
Fri Aug 6 19:36:11 CEST 2004
Yong Wang wrote:
> In my memmory, there is a system command to display all directory paths the python program has accessed.
> What is command format ? I only remember use sys.path.append or insert to add the path.
Do you just mean this?
Thats not a "command", per se, it's just displaying the current value
of the internal path that Python uses to find modules for import.
sys.path is a list, and that's why sys.path.append() is used to add
More information about the Python-list