0
Can someone tell me how to copy an url to multiple usb drives at once using a USB hub and python 3?
21 Respostas
+ 8
Not really sure what you're asking...
What exactly do you want to do?
+ 7
URL stands for Uniform Resource Locator -- Internet address of a webpage. You want to save what exactly, the very http:// address? The website content?
Then, how are the USB sticks connected? Are they mounted already? If so, you can define a list variable with target file paths, iterate through it and save the files one by one at each of the sticks.
+ 6
That can be done by threading, no problem. But first, please specify if it is a file to be saved or what?
+ 6
OK you can just copy it to a file then copy it to the USB sticks but it won't perform the 5 copy operations at once it will copy them one by one
+ 6
by the way you need some HTML with python cause you need a method to click if you mean to perform it with a button but not if you perform it with hyper link that can be clicked
+ 6
what type of shortcut you will use for the link : icon or file or what ?
+ 6
@Sarah k
+ 6
do you want to set your path or just copy it an easy copy :p
+ 6
please make your question more clear like making points one by one believe me some people start down voting and roasting for that like Stack Overflow
+ 6
I don't think anything can be done about it, at least not from the programming level at this stage...
EDIT: Unless you could map those disks externally and used mapped addresses in the Python code.
+ 5
@Sarah No problem. Let me know if this works, so I can mark this Q as "Solved" :)
+ 4
I am thinking about something like this:
https://code.sololearn.com/c8Mw3b2P41t8/?ref=app
+ 2
Thanks Kuba, it think I can do something with that. I will try it out.
+ 1
File
0
I have to copy 1 url to a lot of usb-sticks. I am looking for a way to automate it with 5 usb-sticks at once.
0
My idea was to be able to do them all at once instead of one by one.
0
are you using unix-like or windows ?
0
Init: on Windows 10, it is a file type url. If you double click on it, you go to the website.
(I'm quite new to this, still learning.)
0
So i need to copy a hyperlink, Kuba.
0
Challenge : copy 1 url to 5 usb sticks in 1 click, max double click. With guarantee that all destination drives are written.
To make it easier: destinations are empty.