Hi,
Yes mawe you're right, I've tried it as well and it seems to be performing.
<ul><li><LI class=li1>>>> import sys</li>
<li>>>></li>
</ul>
"Sys.py" is definitely there without a doubt! What the mystery is, is why would someone want to import it?
I too found this same thing happening to me when I first started using Python and I was mystfied that something AMAZING:icon_eek: didn't happen when I first imported it, and wondered for a long time that maybe I was doing something wrong and that had I ruined Python:icon_cry:...but I know now for sure that his machine is working all right!:)
fredzik.
fredzik
Junior Poster in Training
55 posts since Feb 2007
Reputation Points: 10
Solved Threads: 5
Hi,
The "Message" box is going funny again. The code should have come out exactly as theirs did...so here it is again:
>>> import sys
>>>
Bye.:)
fredzik.
fredzik
Junior Poster in Training
55 posts since Feb 2007
Reputation Points: 10
Solved Threads: 5
Not all modules are modulename.py files. Some of them are .pyc (Python bytecode) or .pyd (Python dll) )files. My best guess is that the module sys is written in C and is part of the Python24.dll/Python25.dll. If you run the Windows version of Python, this file is installed in the Windows\system32 folder.
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417