I've just started a job which has a massive python2.3.4-centric tools installation and configuration.I know what you're going to say, but I can't upgrade and be the only one with a newer version. There are close to 30 engineers using this same tools configuration, and it has been working fine for a
web.setcookie('user', '', 'Mon, 01-Jan-2000 00:00:00 GMT') File "", line 1 n-2000 00:00:00 GMT') compare datetime.datetime to int ^SyntaxError: invalid syntaxIm trying to set a cookie after logging an user in. If someone has somecode for doing this it ll be greatthe code I use for st
>i cant understand the open command i tried the help command but still
> dont get i am trying to write twi programs one to keep track of
> money
> phone numbers... and another to randomly print a statmint from a
> file
The built in open command opens a file. That is it creates
a file object that
i cant understand the open command i tried the help command but still
dont get i am trying to write twi programs one to keep track of money
phone numbers... and another to randomly print a statmint from a file
pleas dont just send a program i would like it if you could explain
the command so that
On 9/22/06, wesley chun <[EMAIL PROTECTED]> wrote:
> this sounds like it will require some work to implement 'df' in
> Python
Mmm... although I have discovered a debian package called pydf whose
source made interesting reading.
> i'd use the one of
> the {os,popen2}.popen*() functions or the sub
Take a look in my OS topic on my tutor for a run through
these file handling functions.
> OK have I missed it - but which module is file copy in ? I looked
> all around
> OS but no luck - I can find rename(src, dst) but that's about it.
But the quick answer is shutil
Alan Gauld
Author of the Le
Hi Paulino,
I've seen it being mentioned here before, but not sure
what the answer is. I'd try reporting it on the main
Python newsgroup where the gurus hang out...
I'd also try uninstalling all things Pythonic and
downloading a fresh copy and trying again.
If its any consolation I have a simila
> > cur.execute("INSERT INTO images (image) VALUES (?)", data_obj)
>
>In my case, I'm using psycopg2 for PostgreSQL. I just did a test,
> and it doesn't seem to like the ? syntax. I'll check the
> documentation
> to see if there's a setting to have it use the ? syntax.
It may well be the Python c
On Thursday 21 September 2006 21:48, Mike Hansen wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Dave S
> > Sent: Thursday, September 21, 2006 2:41 PM
> > To: Python Tutor
> > Subject: [Tutor] module file copy ?
> >
> > OK have I missed i