Python Forum
Suggestions for coding of multiple commands
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Suggestions for coding of multiple commands
#1
Hi, I use a program as a downloader, however I have to enter each URL every time. Can anyone suggest a way to use either a text/bat/SQL code so that when the current download finishes, the next URL in line will automatically enter in the command line and download? I would REALLY appreciate the help. I've been searching for a solution for a while but so far unsuccessfully. If you need any more info, please let me know. Thank you everyone!
Reply
#2
Please show what you are doing now to do multiple downloads.
Reply
#3
(Nov-29-2022, 04:43 AM)astroashton Wrote: I've been searching for a solution for a while but so far unsuccessfully.
I really don't understand how one can search for something like this for a while unsuccessfully.
If you have URLs stored in a file or DB, start from there and how to read from that source.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#4
I think it's because I don't know exactly the terms to search. I keep searching for something along the lines of "how to automatically insert command after current command finishes" and related terms. I don't have the relevant knowledge to create a database in this situation, so asking people who know more than me is a pretty logical step. This is a screenshot of the prompt. You enter the URL, hit enter. The second screenshot is while it downloads, then returns to the same prompt for a new URL when it's done. Thank you so much for the help!
[Image: UPjEKIm] [Image: 3FmjELl]        
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Logic suggestions for comparing 2 csv's cubangt 7 1,133 Nov-09-2023, 09:54 PM
Last Post: cubangt
  Require Some Suggestions gouravlal 2 1,891 Jul-27-2020, 06:14 AM
Last Post: gouravlal
  running multiple commands in a parallel pool Skaperen 6 3,947 Jul-30-2019, 05:49 AM
Last Post: Skaperen
  Python Debugger Suggestions nilamo 3 3,087 Oct-22-2018, 07:05 PM
Last Post: jdjeffers
  Learning Python, need suggestions vkozinec 1 25,130 Mar-22-2017, 06:43 PM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020