email questions

2006-02-08 Thread Scott Frankel
I'm looking for a way to send a simple, plain text email message using Python. My initial attempts are failing with the following error: socket.error: (61, 'Connection refused') Does this imply that I do not have the machine's smtp server running? (I don't; and I'd like to avoid

Re: email questions

2006-02-08 Thread Scott Frankel
again Scott On Feb 8, 2006, at 9:47 AM, Carsten Haese wrote: On Wed, 2006-02-08 at 12:34, Scott Frankel wrote: I'm looking for a way to send a simple, plain text email message using Python. My initial attempts are failing with the following error: socket.error: (61, 'Connection

Re: email questions

2006-02-08 Thread Scott Frankel
Yes, I was doing something wrong: I was connecting to the localhost after instantiation. All better now. Thanks for the tips! Scott On Feb 8, 2006, at 11:04 AM, Carsten Haese wrote: Then you're doing something wrong. The line s = smtplib.SMTP(mail.ispname.net) instantiates an SMTP

Re: wxPython vs. pyQt

2005-03-16 Thread Scott Frankel
I have just started using wxPython. I selected it over pyQT for licensing reasons. I'm no gui app expert. But that said, I've found the toolkit approachable and the user community very helpful. Scott On Mar 16, 2005, at 9:11 PM, [EMAIL PROTECTED] wrote: I've narrowed down my toolkit

Re: file descriptors fdopen

2004-12-06 Thread Scott Frankel
foo = open('foo.txt', 'w') duh. Thanks - Scott On Dec 6, 2004, at 11:27 AM, Scott Frankel wrote: Why does os.fdopen('foo.txt', 'w') require an integer? Ultimately, I want to create a new file on disk. Funny, I can't seem to suss-out how to create a new file without resorting to os.system('touch