How to Solve NameError: name 'ThreadStart' is not defined -- System

Solution: Import the 'ThreadStart' module

To Solve the error, add the following line to the top of your code.

from System import ThreadStart

 

For more information:
Python System ThreadStart