Aug-29-2022, 04:29 PM
(This post was last modified: Aug-29-2022, 04:30 PM by kucingkembar.)
hi, sorry for my bad English
I creating a downloader to download multiple files at once using python,
I will not write details, this is the part:
I want to limit it by using a script like this(just an idea)
thank you, have a nice day
I just find the correct keyword: python get all running task manager
I creating a downloader to download multiple files at once using python,
I will not write details, this is the part:
if not os.path.exists(SaveAs): time.sleep(1.0) # download size average is under 1 Mb Calling = 'python.exe', "DownloadSingle.py", URL, SaveAs subprocess.Popen(Calling)now my problem is: that sometimes, the file is over 1Mb, and the subprocess keeps increasing,
I want to limit it by using a script like this(just an idea)
while taskmanager.count("Python") > 4: time.sleep(1.0)how do I do this?
thank you, have a nice day
I just find the correct keyword: python get all running task manager