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

Re: [pygame] Python bots in Galcon (or your game!) safe_eval



Sounds cool, and this is an important problem domain for python, even beyond gaming.  I've been needing this for similar reasons, and the hacks I've been using are pretty flimsy. 

re.sub(script,'import','_no_imports_') FTW