Ich hoffe ja mal das es möglich ist, dass was ich malwieder will:
Code: Alles auswählen
# -*- encoding: latin1 -*-
import threading
import time
import ausgabemodul
import Tkinter as tk
class simulator(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
def run(self):
def hallo():
print "Hallo"
class andy(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
def run(self):
a = simulator()
b = a.run()
b.hallo()
bla = simulator()
bla.start()
bla1 = andy()
bla1.start()
Ist mein Ansatz schon mal in die richtige richrung oder muss ich das ganz anders machen?
Für Hilfe währe ich sehr dankbar!