Skip to content

Instantly share code, notes, and snippets.

@giuserpe
Created November 15, 2016 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save giuserpe/1c1515c8fee9deca90f24c89bc58485c to your computer and use it in GitHub Desktop.
Save giuserpe/1c1515c8fee9deca90f24c89bc58485c to your computer and use it in GitHub Desktop.
class myThread (threading.Thread):
def __init__(self, threadID, name, counter):
threading.Thread.__init__(self)
self.threadID = threadID
self.name = name
self.counter = counter
def run(self):
progress ()#self.name, self.counter, 1)
firme_in_calce ()#(self.name, self.counter, 1)
struttura_ComputoM()
def debug (arg=None):
myThread(1, "Thread-1", 2).start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment