Puoi usare un thread (modulo threading) o un sotto processo (modulo multiprocessing, a partire da Python 2.6 e >).