D
D
Dmitry Tereshchuk2018-03-14 19:54:34
Python
Dmitry Tereshchuk, 2018-03-14 19:54:34

How to download via python?

Hey!
Downloading files via python.
I use the function os.getcwd()that specifies the path to save the file, the same as the executable script.
How can I specify the folder that I want?
Tried through os.chdir('/storage/0000-404A/папка/'), but alas without result.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Pugachev, 2018-03-15
@Stqs

Dmitry Tereshchuk ,
urllib.urlretrive for help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question