Py file import stops importing


Joined
Dec 22, 2019
Messages
1
Reaction score
0
Hello, when I try to run these two scripts together after a few tries it stops working? Is this because of the import module?

Python:
test = input("Go to new script?: ")
if test=="yes":
    print("going to new script")
    import test2

Python:
test = input("Go to old script?: ")
if test=="yes":
    print("going to new script")
    import test1
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top