Original answer
Use a debugger as shown in answers to How to connect a remote debugger to a Python process?
After joining, you can pause execution and view variables, current stack, etc.
Update
As noted in the comments related to debuggers, it seems to require the process to start in a certain way. Visual Studio (with Python Tools installed) supports joining the current process.
Basic source share