Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-05 Thread willitfw
any help on level 4 would be appreciated. i've looked at the hints, but isn't obvious -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-05 Thread willitfw
yes, I have done that. i'll keep working on it. thanks -- http://mail.python.org/mailman/listinfo/python-list

schedule a monthly ftp event

2005-04-26 Thread willitfw
Greetings, I am looking for some guidance on a script. My goals are: 1) have this script run automatically through a time set schedule. 2) verify if a file is updated on an ftp site (usually on the 15th of the month). 3) If the updated file exists, ftp it to local drive. 4) e-mail other users

Re: Resolving 10060, 'Operation timed out'

2005-04-21 Thread willitfw
I'm including the code that I've been using. I am relatively new to python, and not sure if a socket was created: * import socket socket.setdefaulttimeout(None) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) from urllib import urlopen import urllib, urlparse, string,

Resolving 10060, 'Operation timed out'

2005-04-20 Thread willitfw
Does anyone know how to prevent this error from occurring: IOError: [Errno socket error] (10060, 'Operation timed out'). I am using the following code without any luck. Obviously I am missing something. import socket socket.setdefaulttimeout(20) Thank you in advance. Tom Williams --