[Tutor] Where is sys.py?

xDog Walker thudfoo at gmail.com
Sun Aug 21 16:12:43 CEST 2011


On Sunday 2011 August 21 04:57, Lisi wrote:
> If sys.py is a file, it must be somewhere; but I can't find it.  Where is
> it? I would like to look at it.
>
> The modules within it must surely be somewhere too.  But since I can't find
> sys, I obviously can't find the modules.  Again, I'd like to look at them.
>
> In case it is relevant, I am using Python 2.5.2 on Debian 5.

The source is in C, try

    locate */Python/sysmodule.c

if you have the source for your Python.

-- 
I have seen the future and I am not in it.


More information about the Tutor mailing list