When I used to program with python I could run a python app and then execute methods and access variables of the app from within terminal. This was a great way to test thing