[last updated: 2022-10-22]
go to: Python home page
go to: Python: Programming Statements
-----
- from threading import Thread
In this case, Thread is directly available in your program with:
t1 = Thread(whatever)
- import threading
In this case, you call its functions with:
t1 = threading.Thread(whatever)
- from threading import *
- import threading as t1
.
.
.
eof