[Tutor] how to get the return value?
ingo
ingoogni at CUT.THIS.OUT.home.nl
Sun Mar 5 20:02:03 CET 2006
in news:440B2B3E.6070407 at tds.net 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
Ingo
More information about the Tutor
mailing list