Load Python Scripts from Memory

Dean Ellis dean.ellis at capitaes.co.uK
Fri Nov 21 17:35:56 CET 2003


Hi 

The great news is that I got the system working :-D.

I ended up using a number of methods, but the script can be loaded
from a string which I can get from anywhere (a file, the web, etc).

You were right about the \r\n, I had to go through and replace any
\r's with just the \n otherwise the import would fail.

Thanks for all your help. Now I just need to write the rest of the
application ;-)

Dean




More information about the Python-list mailing list