Skip to content

Commit 6ac465a

Browse files
Download from CMD
1 parent 460c7af commit 6ac465a

File tree

1 file changed

+9
-0
lines changed
  • Download from cmd using python

1 file changed

+9
-0
lines changed

Download from cmd using python/run.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import urllib.request
2+
url = input("Enter the Download-Url\n")
3+
name = input("Enter the name of the File with the extension\n")
4+
try:
5+
print("Downloading starts...\n")
6+
urllib.request.urlretrieve(url, name)
7+
print("Download completed..!!")
8+
except Exception as e:
9+
print(e)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy