Re: [Mailman-Users] python global variable error

2007-03-16 Thread Mark Sapiro
ANIL KARADA wrote: > hi, i made a program in python but received global name error. the program > code; Mailman-users@python.org is a Mailman list, not a Python list. I suggest you try the [EMAIL PROTECTED] email list or the comp.lang.python usenet group. -- Mark Sapiro <[EMAIL PROTECTED]>

[Mailman-Users] python global variable error

2007-03-16 Thread ANIL KARADAĞ
hi, i made a program in python but received global name error. the program code; serverhost = '127.0.0.1' serverport = 2000 BUFSIZ = 1024 addr = (serverhost,serverport) if str(sys.argv).find("-s") == -1: cs = socket(AF_INET, SOCK_STREAM,0) # create a TCP socket