Error "undefined symbol:PyFPE_jbuf"
Could be an unlinked version of python on the system. If /usr/bin and /usr/local/bin contain python, delete the /usr/local/bin/python,
and re-log in. Debian puts python in /usr/bin, but python.org puts it in /usr/local/bin.
Confusing, but if you are using apt-get, stay with Debian's version.
Key Python Debian packages are python2.2, python2.2-dev,python2.2-doc, python2.2-mysqldb, python2.2-tk.
With Debian3 (woody), don't remove python2.1, it's required/linked by many system apps. Version 2.2 peacefully co-exsists.
Keywords (cannot be used as variable names):
and = (boolean)
assert = (debugging)
break = (loop)
class = evaluates lists and defines a class object.
close() = closes an open file. See open.
continue = (loop) continues next cycle of the nearest enlosing loop.
ctrl-d = quit python command line in Linux/UNIX.
ctrl-z = quit python command line in Windows.
def = defines a user object.
del = removes items.
elif = (loop) part of " if ".
else = (loop) part of " if ".
except = (loop) part of " try ".
exec = dynamic execution of python code.
finally = (loop)part of " try ".
for = (loop) iterate over the elements of a sequence.
from
global
help() = interactive help. (help, modules, topics)
if = (loop) evaluates expressions one by one until one is true,
then executes it.
import = insert modules.
in
input('print prompt') = takes in user's input.
is
lambda = (boolean)
not = (boolean)
open("filename","r") = open a file. "r" = read
"w" = write, "rb" = read binary, "wb"
= write binary.
or = (boolean)
ord() = convert opened file into printable format.
outp = create a new file to write to. See inp.
pass
path = #! /usr/bin/python.
print = write to output (the screen by default).
raise
readline(): = read the opened file (see imp) one line at a time.
readlines(): = read the entire opened file (see imp).
return
try = specifies exception handlers &/or cleanup for a group of statements.
while = repeated execution as long as an expression is true.