A
A
Alexander2020-08-11 11:02:40
Python
Alexander, 2020-08-11 11:02:40

How to stay in python console after executing a file?

By typing $python3 fail1.py) the file is executed and exits the python console.
How to run it so that after its execution you can start driving, as if I just ran $(python3) But all the variables, classes, etc. were from fail1.py.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IDzone-x, 2020-08-11
@evpv2015

Read) https://www.rupython.com/python-1197-11217.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question