ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Spam Bot, broken pipe
by Someone Something other posts by this author
Nov 7 2009 5:00PM messages near this date
Re: How convert string '1e7' to an integer? | Re: Spam Bot, broken pipe
I have a irc spam bot (only testing on my channel :P ) whose main loop is
the following:

privc="PRIVMSG "+self.channel
while True:
     self.sock.send(privc=" :SPAM SPAM SPAM!");
     time.sleep(2);

And it gives an error "Broken Pipe".
How can I fix this?
Thread:
Someone Something
Michael Torrie
Someone Something
Someone Something

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved