On Thu, 22 Oct 2009 10:56:07 +
baboucarr sanneh wrote:
> > By the way, the convention on this list is to bottom-post,
>
> okay i got that will be doing so from now on :)thnx
Thanks but what the previous poster forgot to mention was that you
should also trim the text that you are replying
$LIM $...@dy
> Date: Thu, 22 Oct 2009 11:51:08 +0100
> From: m...@timgolden.me.uk
> CC: python-list@python.org
> Subject: Re: Date strftime('%d%m%y') date to be of yesterday
>
> baboucarr sanneh wrote:
> >
> > Hi tim
> >
> > Thank yo
baboucarr sanneh wrote:
Hi tim
Thank you very much ...I have got it now..now i can continue with the backup
script i want to make
By the way, the convention on this list is to bottom-post,
that is to add your comments / reply to the bottom of the
post you're replying to. These things vary
Hi tim
Thank you very much ...I have got it now..now i can continue with the backup
script i want to make
$LIM $...@dy
> Date: Thu, 22 Oct 2009 11:36:50 +0100
> From: m...@timgolden.me.uk
> CC: python-list@python.org
> Subject: Re: Date strftime('%d%m%y') d
baboucarr sanneh wrote:
Hi tim,
well i tried what your script but i do have an error
import datetime
yesterday = datetime.date.today () - datetime.timedelta (days=1)
print yesterday.strftime ("%d%m%y")
SyntaxError: invalid syntax (, line 1)
when i jus check the variable i.e yesterday i do ge
> CC: python-list@python.org
> Subject: Re: Date strftime('%d%m%y') date to be of yesterday
>
> baboucarr sanneh wrote:
> >
> > Hi all
> >
> > I want to output the date of the with this format strftime('%d%m%y') but
> > the date ie
baboucarr sanneh wrote:
Hi all
I want to output the date of the with this format strftime('%d%m%y') but the
date ie '%d' should be the date of yesterday
eg
import time
strftime('%d%m%y') # something like minus a day..
Thank you..am a newbie to python
import datetime
yesterday = datetime.d