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
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