f-strings (formatted strings) are new in Python 3 π They make string formatting a lot easier. I could have used format function instead of using f as a prefix but just by adding that, I get to write cleaner and more readable code.
Nice Article. π
How about taking it a step further, where you don't need to run the script manually.
And the script will run automatically whenever a file is saved in the 'downloads' folder.
Thank you! I was thinking to do so but it will be a mess if I want to drag and drop the recently downloaded file from within the browser to some other tab for reupload...
Example:
Use case: Uploading a picture on dev.to article by downloading any image from some other site
I'm Manaswini, from India. Right now I'm pursuing an Electrical engineering degree from IIT Madras and also experimenting with Web development, design and a lot of other things!!
f-strings (formatted strings) are new in Python 3 π They make string formatting a lot easier. I could have used format function instead of using f as a prefix but just by adding that, I get to write cleaner and more readable code.
Nice Article. π
How about taking it a step further, where you don't need to run the script manually.
And the script will run automatically whenever a file is saved in the 'downloads' folder.
Thank you! I was thinking to do so but it will be a mess if I want to drag and drop the recently downloaded file from within the browser to some other tab for reupload...
Example:
Use case: Uploading a picture on dev.to article by downloading any image from some other site
Yes, automating things make our life a lot easier. Also, this article was easier to go through as it was filled with memes and simple words.
Thank you so much, bro! Glad you liked it.
This is one of the most useful articles I've read Gagan!! Wow. So well explained. Good jobπ
Thank you so much ππβ€οΈβ€οΈβ€οΈ
nice post good job
Thank you π
Wow!!! That was so EPIC!!!
Python put to some good use here
Thanks soooo much!
Sending love β€οΈβ€οΈβ€οΈ
Thank you so much! ππ
I'm glad you liked it.
Good post I am still learning Python but this gave me some ideas for future scripts.
I'm glad you liked it :D
Great job @Gagan. I liked the way you explained the code lineally! Nice job with the memes too π