I am developing a game in Python using Pygame. I am wondering whether there is a way to make changes to a currently running game by modifying the script (like Notch does in this clip).
For example, suppose I am doing a bit of testing and I want to increase my player jump height variable. I would like to simply go into the script while the game is running, change the value of the variable, and have the new value reflected in the current run. This would simplify the process of fine-tuning all my physics variables.
My IDE is Sublime Text (I know, it's actually just a glorified text editor, but you can run code from it).
Is there any way to do this? For example, with a particular IDE?