Where and when does Python say this to you?

gracemia gracemia gracemia at gmail.com
Tue Feb 8 08:26:33 EST 2011

 File "prueba.py", line 4, in <module>
    sock = socket(AF_UNIX, SOCK_STREAM)
NameError: name 'AF_UNIX' is not defined


import socket
sock = socket(AF_UNIX, SOCK_STREAM)

Thank you !

Submitted via EggHeadCafe 
Statistics, Probability, Lotteries and Dumb Programmers

More information about the Python-list mailing list