Logged In: YES
user_id=751249
E:\>optparse.py
2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)]
2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)]
Traceback (most recent call last):
File "E:\Home\Home\jxlu\optparse.py", line 3, in ?
from optparse import OptionParser
File "E:\Home\Home\jxlu\optparse.py", line 3, in ?
from optparse import OptionParser
ImportError: cannot import name OptionParser
E:\>type optparse.py
import sys
print sys.version
from optparse import OptionParser
E:\>type test1.txt
Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
**********************************************
******************
Personal firewall software may warn about the connection
IDLE
makes to its subprocess using this computer's internal
loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the
Internet.
**********************************************
******************
IDLE 1.0
>>> import sys
>>> from optparse import OptionParser
>>> # ok!
E:\>type test2.txt
Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
**********************************************
******************
Personal firewall software may warn about the connection
IDLE
makes to its subprocess using this computer's internal
loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the
Internet.
**********************************************
******************
IDLE 1.0 ==== No Subprocess ====
>>> import sys
>>> print sys.version
2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)]
>>> from optparse import OptionParser
Traceback (most recent call last):
File "", line 1, in ?
from optparse import OptionParser
ImportError: cannot import name OptionParser
>>>
E:\>