Skip to content

urlretrieve function #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
itwasmycode opened this issue Aug 25, 2018 · 3 comments
Closed

urlretrieve function #22

itwasmycode opened this issue Aug 25, 2018 · 3 comments

Comments

@itwasmycode
Copy link

This function can't use anymore since is removed from python.

How can I handle this problem? Are there any function can be replaced with this function?

** Days 4-6

@bbelderbos
Copy link
Collaborator

What version of Python are you using' from urllib.request import urlretrieve runs fine on 3.6 and 3.7 for me. You can also use requests (after pip installing it)

@itwasmycode
Copy link
Author

http://prntscr.com/kmvn5i
Using python 3.6.5.

Also I tried things that you are mentioned. http://prntscr.com/kmvnkr

I faced a lot of problems with it.

@itwasmycode
Copy link
Author

Sorry for that, my mistake. But problem is, I couldn't find any solution for 'take the csv file from web and process with another csv file from my computer' can you help me ?

On the requests library, I get the file from web. File dot content doesn't exist. So, I tried to file dot(.) text. It works. But if I open my csv file which is my computer, I couln't copy the content of csv file. Tried to csv.reader() etc. Do you know is there any simple solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants