View Single Post
Posts: 146 | Thanked: 15 times | Joined on Oct 2008
#1
Hi folks,

I know, not really the place to post this, but you've been quite helpful before, so.... sorry.

I want to do a task in python in a way that does not block the program. For example, downloading files from the internet.

Of course I could do a separate program and call a subprocess, or do somethink like "os.popen('wget .... &')". But I want to do this inside the main program, in pure python.

Which is the best way to do this? Can you point me to some reading?

Thanks!!

Cheers,
L.