Alright, this is my first time so bare with me and I’ll do my best…
I’m making a python program and need it to do some things in very particular orders, the code is a bit like…
class class1():
def function1
veriable1 + 10
class class2():
def function2
print(veriable1)
print(veriable1)
function2()
The actual code is more complex mind you, but what I need to do in this case is have function2 print veriable1, wait until function1 is done, then print it again.
As I said, my actual code is a lot more complex but also specif, neither I nor the code will know when it’s commands will be used but I do know the the order the steps should happen in when individual commands are used… Sorry if that doesn’t make seance.
I tried looking it up and couldn’t find anyone having the same issue.
I tried asking a friend I have and he somehow thought I was planing to use witch craft to summon an actual demon… It’s a long story… He was tiered and I think I’m funny.
user25255302 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.