I’ve read that subprocess should be used but all the examples i’ve seen on it shows that it runs only command-line commands. I want my program to run a python command along with another command. The command i want to run is to send an email to a user while a user plays a game i created. i have to have the python commands run at the same time because without doing so nothing else in the game can happen before the email is finished sending so it lags the game. Please help and any input is appreciated.
Share
It sounds like you are looking for threading, which is a relatively deep topic, but this should help you get started: http://www.devshed.com/c/a/Python/Basic-Threading-in-Python/