Hello, Guarav, we've got a lot of negative feedbacks regarding a formatting of your code on reddit
https://www.reddit.com/r/programming/comments/fjhpz4/top_12_string_programs_for_your_next_java/
https://www.reddit.com/r/java/comments/fjhpn1/top_12_string_programs_for_your_next_java/ Can you fix it?
Great article! Our readers on Reddit said that there is "youtube-dl", a feature-rich CLI tool that do all this stuff. Anyway great to learn how we can create such things by our own.
1. Why would you put a sleep inside a for-loop inside a task? You should setup properly a rate-limit.
2. This could be improved by creating smaller tasks that take care of individual parts.
3. print? use logging module.
4. What if your request doesn't return 2xx?
5. since you already wrote that dict to print it, you can use it as Currency.objects.create(**dct)
I don't really have anything to say about the post itself, but I noticed a minor bug in your code: The correct way to open files for csv reading/writing is to use newline='', i.e. open('books.csv', mode='r', newline=''). The reason for this is documented in the footnote https://docs.python.org/3/library/csv.html#id3
By Signing In \ Signing Up, you agree to our privacy policy
We use cookies to offer you a better browsing experience, analyze site traffic, personalize content. Read how we use cookies. By using this site you consent to our use of cookies.
Creating Our Own Chat GPT
Hi, Philip, that you for your feedback. Appreciate it! I developed only the interface to the GPT model, OpenAi permanently improve their products.
Top 12 String Programs For Your Next Java Interview
Hello, Guarav, we've got a lot of negative feedbacks regarding a formatting of your code on reddit https://www.reddit.com/r/programming/comments/fjhpz4/top_12_string_programs_for_your_next_java/ https://www.reddit.com/r/java/comments/fjhpn1/top_12_string_programs_for_your_next_java/ Can you fix it?
Building a Simple CLI Youtube Video Downloader in NodeJS
Great article! Our readers on Reddit said that there is "youtube-dl", a feature-rich CLI tool that do all this stuff. Anyway great to learn how we can create such things by our own.
Creating Real-Time API with Beautiful Soup and Django REST Framework
Please look at comments here https://www.reddit.com/r/django/comments/f9puec/creating_realtime_api_with_beautiful_soup_and/
Full List of JavaScript Conferences 2020 [41 Events] Updated 28.08.2020
Hello, please contact with me by email: [email protected]. I need to get detailed description from you
Full List of JavaScript Conferences 2020 [41 Events] Updated 28.08.2020
Hello, please contact with me by email: [email protected]. I need to get detailed description from you
Full List of JavaScript Conferences 2020 [41 Events] Updated 28.08.2020
Hello, please contact with me by email: [email protected]. I need to get detailed description from you
Creating Real-Time API with Beautiful Soup and Django REST Framework
1. Why would you put a sleep inside a for-loop inside a task? You should setup properly a rate-limit. 2. This could be improved by creating smaller tasks that take care of individual parts. 3. print? use logging module. 4. What if your request doesn't return 2xx? 5. since you already wrote that dict to print it, you can use it as Currency.objects.create(**dct)
This Is How I Created a Simple App Using React Routing
thanks for sharing! although hookrouter might be a great alternative
Think Like a Pythonista — Building a Book Sharing App
I don't really have anything to say about the post itself, but I noticed a minor bug in your code: The correct way to open files for csv reading/writing is to use newline='', i.e. open('books.csv', mode='r', newline=''). The reason for this is documented in the footnote https://docs.python.org/3/library/csv.html#id3