But session was interrupted
That means the script received SIGHUP and terminated. The script is no longer running.
What can I do to enter into the "script" to see the string/logs which it produces?
Not possible, the terminal was disconnected and closed. When the script tries to write the output, it will receive a SIGPIPE and python will throw exception and terminate.