Python Forum

Full Version: filtering python code the interpreter reads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i am looking for a way to run CPython while also having my own script filtering (and changing) the code as it is read from the file. this would be started as it's own interpreter. i could call it xpython which would run a script that sets up the filtering and runs the setup.