---- Anna Ravenscroft <[EMAIL PROTECTED]> schrijft: > On 3/5/06, ingo <[EMAIL PROTECTED]> wrote: > > > > in news:[EMAIL PROTECTED] Kent Johnson wrote: > > >>>>[...] > > >>> > > >>>main(printtime(strf=None)) > > >>> > > >>>[...] > > >> > > >> Anna, > > >> > > >> that results in an syntax error / invalid syntax > > > > > > It's very helpful to show the actual error and traceback. > > > > > > > Sorry, here it is: > > > > File "D:\Ingo\PyScript\VIDEOC~1.9\_ij\_time_lapse.py", line 23 > > def main(printtime(strf=None)): > > ^ > > SyntaxError: invalid syntax > > > > Yep. I was suggesting calling printtime as part of your *call* to main, not > when you define main. Sorry to be unclear. >[...] > Hope that makes more sense. >
Ah, that makes more sense, I'll play a bit with it, Thanks, Ingo _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor