Re: Where and when does Python say this to you?

2011-02-08 Thread gracemia
On 8 feb, 14:40, Chris Rebert wrote: > On Tue, Feb 8, 2011 at 5:26 AM, gracemia gracemia wrote: > >  File "prueba.py", line 4, in > >    sock = socket(AF_UNIX, SOCK_STREAM) > > NameError: name 'AF_UNIX' is not defined > > > code: > >

Re: Where and when does Python say this to you?

2011-02-08 Thread gracemia gracemia
this is the simple code: -- import socket # Create an unbound and not-connected socket. sock = socket(AF_UNIX, SOCK_STREAM) --- Thank you ! Submitted via EggHeadCafe SharePoint Tip / Thought of the

Re: Where and when does Python say this to you?

2011-02-08 Thread gracemia gracemia
This is the simple code: import socket sock = socket(AF_UNIX, SOCK_STREAM) -- Thank you Submitted via EggHeadCafe SQL Server CLR Stored Procedures for External Access http://www.eggheadcafe.com/tutorials/aspnet/08

Re: Where and when does Python say this to you?

2011-02-08 Thread gracemia gracemia
File "prueba.py", line 4, in sock = socket(AF_UNIX, SOCK_STREAM) NameError: name 'AF_UNIX' is not defined code: import socket sock = socket(AF_UNIX, SOCK_STREAM) Thank you ! Submitted via EggHeadCafe Statistics, Probability, Lotteries and Dumb Programmers http://www.eggheadcafe.com/tuto

AF_UNIX socket not supported

2011-02-08 Thread gracemia
Hello ! I'm trying to develop with AF_UNIX socket type in python (2.5) but python says that AF_UNIX is not supported How can I do for work with AF_UNIX sockets? Thank you -- http://mail.python.org/mailman/listinfo/python-list