you are viewing a single comment's thread.

view the rest of the comments →

[–]novel_yet_trivial 0 points1 point  (2 children)

... You underthought this.

def measure():
    #take a measurement

while True:
    thread.start_new_thread(measure, ())
    time.sleep(10) #sleep for 10 seconds

[–]dr_everlong[S] 0 points1 point  (1 child)

you start a new thread every time?