Why TypeError: 'str' object is not callable?

Richard Townsend richard at nospam.com
Wed Mar 22 15:17:59 EST 2006


On 22 Mar 2006 12:10:49 -0800, Randall Parker wrote:

> 
> TmpErrMsg1 = "State machine %s " (StateMachineName)
> 

TmpErrMsg1 = "State machine %s " % (StateMachineName)

-- 
Richard



More information about the Python-list mailing list