[Tutor] how to get the return value?

Kent Johnson kent37 at tds.net
Sun Mar 5 19:17:34 CET 2006


Ingo wrote:
> On 2006/3/04,  Anna Ravenscroft wrote:
> 
> 
>>>[...]
>>
>>main(printtime(strf=None))
>>
>>should do it. Alternately:
>>
>>tt = printtime(strf=None)
>>main(tt)
>>
> 
> 
> Anna,
> 
> that results in an syntax error / invalid syntax

It's very helpful to show the actual error and traceback.

Kent



More information about the Tutor mailing list