This is my first article on Automating my workflow with Python.
In this (beginner-friendly) article, you will learn how you can make your own Pyth...
For further actions, you may consider blocking this person and/or reporting abuse
Cool, I have very long time without code in python in an extended way, so things like this help me a lot to remember, but I have a thing that I didn't understood in here, in your condition to handle your exception with the length of arguments in a print function you use the character f before the text string, here:
print(f"[Usage] python {Path("
what does the "f"?
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.
Yeah already I I read about f strings, them are amazing...πβοΈ
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
This is one of the most useful articles I've read Gagan!! Wow. So well explained. Good jobπ
Thank you so much ππβ€οΈβ€οΈβ€οΈ
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.
Good post I am still learning Python but this gave me some ideas for future scripts.
I'm glad you liked it :D
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.
Great job @Gagan. I liked the way you explained the code lineally! Nice job with the memes too π