Question
I need to be able to call a function in the background without it freezing the console. I have experience with multithreading, but I would prefer if it completed tasks in order. What's the best way to do this? Example code is greatly appreciated as English isn't my first language.
Background information (Specific to my question)
I'm using a heavily modified version of pyttsx, thus when a specific function is called it performs a SAPI call which freezes up the console. I would like to be able to call speak.main(decrypt(data))
and still be able to continue inputting data whilst my computer is speaking.