compile() source code from a string

Alex new_name at mit.edu
Thu Mar 1 23:44:40 EST 2001


Apologies for my careless reading, Costas.  The problem is that you need
to replace the '=' in 'elif x = 2:' with '=='.

The-dyslexic-leading-the-blind'ly yrs. :~)
Alex

-- 
Alex Coventry (finger alex_coventry at mit.edu)



More information about the Python-list mailing list