Basic Threading in Python - Open Source Web Development Tutorials - 0 views
-
You can "turn an ordinary function into a thread" using the Thread class: just pass the function as the value for the `target' argument: import threading threading.Thread(target=your_function).start()