Question Regarding SocketServer

2005-01-25 Thread missiplicity
Hi, I am newbie to Python language and am taking my baby steps. I am using Python2.4 from ActiveState on W2K. I am trying to create a simple SocketServer program. Just adding the following 2 lines of code in the program result in the errors given below: import SocketServer print "SocketServer imp

Re: Question Regarding SocketServer

2005-01-25 Thread missiplicity
[EMAIL PROTECTED] wrote: > I tried to reply earlier... basically your "SocketServer.py" file is > messed up. That line "AF_INET{,6}: IP (Internet Protocol) sockets > (default)" should be commented out. It should be part of a block of > lines that are all commented out. Thanks for your quick resp

Re: Question Regarding SocketServer

2005-01-25 Thread missiplicity
I figured out my problem. I initially had named my program SocketServer.py and then compiled it. It created a file SocketServer.pyc Then I changed the name of the program to TestServer3.py but when I imported SocketServer, it was importing from the compiled file left in the current folder (SocketSe