Re: Date strftime('%d%m%y') date to be of yesterday

2009-10-22 Thread D'Arcy J.M. Cain
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

RE: Date strftime('%d%m%y') date to be of yesterday

2009-10-22 Thread baboucarr sanneh
$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

Re: Date strftime('%d%m%y') date to be of yesterday

2009-10-22 Thread Tim Golden
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

RE: Date strftime('%d%m%y') date to be of yesterday

2009-10-22 Thread baboucarr sanneh
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

Re: Date strftime('%d%m%y') date to be of yesterday

2009-10-22 Thread Tim Golden
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

RE: Date strftime('%d%m%y') date to be of yesterday

2009-10-22 Thread baboucarr sanneh
> 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

Re: Date strftime('%d%m%y') date to be of yesterday

2009-10-22 Thread Tim Golden
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

Date strftime('%d%m%y') date to be of yesterday

2009-10-22 Thread baboucarr sanneh
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