Re: problems with smtplib

2005-09-02 Thread Jon Hewer
just got home and i've tried my script on windows with my isp's smtp server, and found that my code wasn't getting past the s.connect() changed me code to: s = smtplib.SMTP('smtp.lineone.net') s.sendmail(me, to, msg.as_string()) s.quit() and now it works fine On 9/2/05, Steve Holden

Re: problems with smtplib

2005-09-02 Thread Jon Hewer
I'm running Fedora Core 3, and I assume thats useing sendmail... On 2 Sep 2005 04:25:41 -0700, Harlin Seritt <[EMAIL PROTECTED]> wrote: > What are you getting in your smtpd logs? Are you using postfix? > sendmail? or are you running this against a Windows stmp service? > > Harlin Seritt > Interne

problems with smtplib

2005-09-02 Thread Jon Hewer
hi having a few problems sending an email with smtplib. i do have an smtp server running on port 25 of my local machine here's the relevant code (taken from python docs): s = smtplib.SMTP('localhost') s.connect() s.sendmail(me, to, msg.as_string()) s.close() and i'm getting this error: Traceb

Re: command line arguments

2005-09-01 Thread Jon Hewer
>What's the purpose of this utility? Is it to do something with the URL? >And the URL must always be specified? What about the name? Also >mandatory, or optional? The relationship between the two? its just a simple rss reader. i'm writing it almost purely just to get me using language (i'm le

command line arguments

2005-08-31 Thread Jon Hewer
hi i am writing a little script and currently implementing command line arguments following the guide by mark pilgrim from dive into python; http://diveintopython.org/scripts_and_streams/command_line_arguments.html thats all fine, however i am not sure of the BEST way to handle multiple command

Re: ideas for university project ??

2005-08-26 Thread Jon Hewer
On 8/26/05, bruce <[EMAIL PROTECTED]> wrote: > 1st question, can this be part of a startup? > 2nd question, does your university expect to own the rights/IP of your > efforts > 3rd question, are you serious, or just looking for a 'project' for a grade I am pretty sure the university will hold any

ideas for university project ??

2005-08-26 Thread Jon Hewer
Hi I'm about to start my third, and final, year in computer science at cambridge uni, and i need to come up with an idea for a software project, but i'm really struggling for ideas, and i was wondering whether anyone here had any suggestions. I'd say i'm probably most experienced in Java, but I h

Re: Python for Webscripting (like PHP)

2005-08-19 Thread Jon Hewer
Ah cool, thanks, i hadn't spotted that page :) On 19 Aug 2005 04:51:06 -0700, paron <[EMAIL PROTECTED]> wrote: > Yes, there's a tutorial about that -- there are several options > depending on the URL structure you want to expose, and your version of > Apache. None of them are torturous, though. >

Re: Python for Webscripting (like PHP)

2005-08-19 Thread Jon Hewer
'cherryPy' even On 8/19/05, Jon Hewer <[EMAIL PROTECTED]> wrote: > I like the look of cheeryPy - snyone know if its easy to get it > running on top of Apache? > > Thanks > > On 19 Aug 2005 04:10:23 -0700, paron <[EMAIL PROTECTED]> wrote: > > Yes

Re: Python for Webscripting (like PHP)

2005-08-19 Thread Jon Hewer
I like the look of cheeryPy - snyone know if its easy to get it running on top of Apache? Thanks On 19 Aug 2005 04:10:23 -0700, paron <[EMAIL PROTECTED]> wrote: > Yes the stdlib offers all the basic functions, but why work so hard? > Get CherryPy (http://www.cherrypy.org) and relax a bit. You'll

Database of non standard library modules...

2005-08-19 Thread Jon Hewer
Is there an online database of non standard library modules for Python? Quite often people who email this list are after a module to do a certain task. If it doesn't exist I think that an online database, to which people could add details of modules, and which people could search, would be an ext

Re: up to date books?

2005-08-18 Thread Jon Hewer
mark pilgrim's dive into python is a good book if you're new to python i also have python cookbook, and foundations of python network programming - i haven't really had a chance to look at these in detail yet but both of these look good On 8/18/05, Paul Dale <[EMAIL PROTECTED]> wrote: > > I high

Re: Ideas for Python project?

2005-08-04 Thread Jon Hewer
Thanks i'll check it out. I'm not very good yet tho! On 8/4/05, Stuart Turner <[EMAIL PROTECTED]> wrote: > Jon Hewer wrote: > > > Hi > > > > I'm pretty new to Python, and recently been working my way through > > Dive Into Python, and I'm

Ideas for Python project?

2005-08-03 Thread Jon Hewer
Hi I'm pretty new to Python, and recently been working my way through Dive Into Python, and I'm currently writing a really simple rss reader purely to get familiarised with the language. I want to move onto something a little more challenging, but I'm stuck for ideas on what to do. I'm after a p

Re: pygettext ?

2005-08-03 Thread Jon Hewer
That was sent with the wrong title, doh! On 8/3/05, Jon Hewer <[EMAIL PROTECTED]> wrote: > Hi > > I'm pretty new to Python, and recently been working my way through > Dive Into Python, and I'm currently writing a really simple rss reader > purely to get familiarise

Re: pygettext ?

2005-08-03 Thread Jon Hewer
Hi I'm pretty new to Python, and recently been working my way through Dive Into Python, and I'm currently writing a really simple rss reader purely to get familiarised with the language. I want to move onto something a little more challenging, but I'm stuck for ideas on what to do. I'm after a p

Re: Python IDE's

2005-08-01 Thread Jon Hewer
I do use Vim a lot. I am currently using it for some PHP development i'm doing. I'm been using it so much recently that i keep pressing ESC and typing vi commands out of vi. But, if i use Vi, then whenever i want to test some code i have to open up python, import the necessary modules and run it

Python IDE's

2005-07-31 Thread Jon Hewer
Hi   I am yet to find a Python IDE (for both Windows and Mac) that I like.  Any suggestions?   Thanks -- http://mail.python.org/mailman/listinfo/python-list

psp & php integration

2005-07-25 Thread Jon Hewer
Hello,   I am upgrading a PHP based site and want to use Python (using mod_python and psp file) to achieve what is required.  However, I do not want to recode the navigation part of the site which is currently coded using PHP.  Somehow I need to merge the outputs of the PHP file and my PS