Forums

Threads Enable

Hi can anyone tell me how to enable threads here... --enable-threads?

Is this for a web app? We don't support threads in web apps right now. Threads should work everywhere else, though.

Perhaps if you describe a bit more about what you want to use threads for, we can suggest an alternative way to achieve the same goal? We don't support threads on web apps because they can lead to unexpected side effects; most times people want to use threads, they're making assumptions about the number and distribution of the processes that serve the web app that might not be valid on PythonAnywhere (or indeed any other platform as a service).