Immediately start an interactive session
pip install interact==0.2
# interact `interact` is a very thin, very convenient wrapper module that immediately drops execution into an interactive shell upon import. Simply import the module: import interact You'll find yourself in a live interactive python shell in the context surrounding the import statement.