Thread
:
Silly small python question: task in a non blocking way?
View Single Post
luis
2011-02-28 , 15:18
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.
Quote & Reply
|
luis
View Public Profile
Send a private message to luis
Find all posts by luis