Python coding problem.

The_Polymorph at rocketmail.com The_Polymorph at rocketmail.com
Thu Apr 5 01:06:26 EDT 2001


Hi all.
 
 I am just learning python and I have a question. I bought 'Core Python Programming' by Wesley Chun. If anyone has it, on page 575 ( networking ) I am usin the following:

 data = tcpCliSock.recv(BUFSIZ)

 The error is 'Attribute error:'int' object has no attribute 'recv'.

 If need be I can post the code or you can view it from:

 http://starship.python.net/crew/wesc/cpp

 It is under the errata section ( at the bottom under code ) Chapt.16  I am using a win32 machine with python 2.0

 Thanks, Katie.






More information about the Python-list mailing list