Python Documentation 2004-12-20 - By Lars Nilsson
Back On Mon, 20 Dec 2004 10:46:46 -0500, RB <rblosat@(protected)> wrote: > Hi All, > > Does any one know where to get the python documentation for Truepsace > 6.6 sp2. > I am trying to run this script that I have found and keep getting this > error. > > def ontimechanged(); > me.Translate(0.3, 0, 0) > doc.Draw() > > KeyErrorTSP3: > SyntaxErrorinvalid syntax File "<string>", line 1 > KeyErrorTSP3: > ^ > :
Unless it's a typo in the email, the semicolon after ontimechanged() should be a colon.. As for documentation, the Python interpreter corresponds to Python 1.5.1, and you should probably be able to make do with the documentation for the 1.5.2 release at python.org [1] as far as the Python language is concerned.
Lars Nilsson
[1] http://www.python.org/doc/1.5.2p2/
|
|