I am glad you were able to figure it out. It's strange that the pyc
file didn't get updated... it should have automatically fixed itself.
*shrug* that's one of those problems that aggrivate you to death...
--
http://mail.python.org/mailman/listinfo/python-list
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
[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
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.
--
http://mail.python.org/mailman/listinfo/python-list
you are missing quotes in "socketserver.py". Make sure the comments at
the top are quoted out. In "IDLE" they should be green.
--
http://mail.python.org/mailman/listinfo/python-list
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