Re: [Tutor] Python upgrade from 2.3 to 2.4

2006-01-07 Thread Kent Johnson
Srinivas Iyyer wrote: > So how should I upgrade from 2.3 to 2.4 without > loosing the neat libraries and modules that I have > been using on 2.3. these python modules and libraries > are backbone for my programming skills. so how could I > upgrade without loosing theh binaries and modules (eg. > Bi

Re: [Tutor] iterate over daterange

2006-01-07 Thread Kent Johnson
captnswing wrote: > Hello > I have a startdate and an enddate and I want to iterate over all days > in between the two > > there doesn't seem to be a range function for dates?!? > > i.e. currently I am going through integers with something like this: > > =

Re: [Tutor] Nearly there

2006-01-07 Thread Alan Gauld
I'm also curious, although not surprised - since this is why I tend not to try to print using the API!, but another possibility is that Win98 doesn't recognise the dot shortcut for a path. You may need to fill in the explicit path info: > win32api.ShellExecute ( > 0, > "print", > os.path.abspa

Re: [Tutor] Nearly there

2006-01-07 Thread John Corry
Terry, Your suggestion works. It also works consistently if you fully define the path of 'filename'. eg filename = "c:/test/testprint.txt" You are right, shell execute seems to need the full path name with windows 98SE. It is strange that it does not need the full path for win xp + win 2k. Onto