By the way your's is complicated for a beginner to understand, mine is basically bare bones.
Idk, I've never written a line of Python in my life
then why do you say it's stuffty
Idk, I've never written a line of Python in my life and it made complete sense to me.
choice = input("Would you like to open the file?"); if choice == "yes": print ("You chose Yes!") import time time.sleep (1.5) #put my code here to open a file else: print ("gg")
Call animal control, and stay inside. Put out a trap, and see if he goes inside of it.
Starzy, please stop importing modules immediately as you need them.Place something like import time at the top of the file, and only once.
import timedef 123(): time.sleep(1)
def 123(): import time time.sleep(1)
Doesn't work for me, when I define things eg.Code: [Select]import timedef 123(): time.sleep(1)won't work but -Code: [Select]def 123(): import time time.sleep(1)will, weird I know.
What Python interpreter do you use? I've never seen this happen with neither CPython (official) nor PyPy.