Python in Nashville
python at mrabarnett.plus.com
Sat Jun 20 15:12:18 CEST 2009
Yell123 at aol.com wrote:
> I maintain a math hobby - magic square web page
> A very bright fellow in England sent me a algorithm written in python to
> solve a problem I was working on. I can't seem to get it to work ...
> syntax problems....
> *If some one could help me get this working ... I would be grateful.*
> *I have loaded Python Ver 2.6 ... but when I paste this code in it keeps
> giving me errors.*
Are you trying to paste it in IDLE's interactive prompt? That can be
If I paste it all at once I get a syntax error, but if I paste one
function at a time then it's OK.
More information about the Python-list