[Tutor] how to get the return value?

Ingo seedseven at home.nl
Sun Mar 5 20:05:07 CET 2006


On 2006/3/05,  Kent Johnson wrote:

>> 
>>>>[...]
>>>
>>>main(printtime(strf=None))
>>>
>>>should do it. Alternately:
>>>
>>>tt = printtime(strf=None)
>>>main(tt)
>> 
>> 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


Ingo



More information about the Tutor mailing list