Re: Returning a date as string

2007-04-21 Thread Björn Keil
On 22 Apr., 02:26, John Machin <[EMAIL PROTECTED]> wrote: > On Apr 22, 6:59 am, Björn Keil <[EMAIL PROTECTED]> wrote: > > > Hello pythons, > > > I have little problem with understanding conversions in python. I've > > written a little class - n

Re: Building browser-like GET request

2007-04-21 Thread Björn Keil
On 21 Apr., 23:28, Gilles Ganault <[EMAIL PROTECTED]> wrote: > I'd like to download pages from a site, but it checks whether > the requests are coming from a live user or a script; If the latter, > the server returns a blank page. > > Using a proxy (Paros), I can see what information my script and

Returning a date as string

2007-04-21 Thread Björn Keil
Hello pythons, I have little problem with understanding conversions in python. I've written a little class - nothing much, just to try out Python a little - containing the following method: def __repr__(self): """Serializes the note. Currently the format of notes isn't decide