[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Loading commands from a file



Sounds like what I want- but where is it?
On 7/26/07, Michael George <mdgeorge@xxxxxxxxxxxxxx> wrote:
I'm not sure if this is exactly what you want, but there's an exec
command that takes a file object and interprets it as a python script.
I think there are also variants that take a file name, and there might
also be variants to run the file in a sandbox.

--Mike