r/pythonforengineers • u/Johan-Godinho • Jun 05 '21
Simple web scraping project for beginners
r/pythonforengineers • u/Johan-Godinho • Jun 05 '21
r/pythonforengineers • u/py_am_i • May 31 '21
I built a python library ZDrive that helps in bulk download/upload of contents from Google Drive.
Pydrive undoubtedly has a lot of customizations when it comes to downloading and uploading content from Google Drive. But most of the time we perform a limited variety of operations and Pydrive lacks some major features.
Some of the major features of ZDrive includes:
Upload folders anywhere in the Drive maintaining the same directory structure as present locally.
Download folders from anywhere in the Drive to anywhere in the PC maintaining the same directory structure as present in the Drive.
Download or Upload the whole directory in less than 5 lines of code.
Can sustain minor network interruptions.
Serialize the credentials of your google-API in a pickle file so that you won't have to log in every time you run your script.
Note: Most of the above-specified features are not present in Pydrive(as per my research) making me build this library. Also, this is the initial version so I have only kept the features that people mostly use. Do raise a PR if you have a feature in mind that can be helpful.
PyPi Link: https://pypi.org/project/ZDrive
GitHub Link: https://github.com/ab-anand/Zdrive
Do give it a star if you find it useful. Thanks
r/pythonforengineers • u/HerrZweistein • May 30 '21
I always wondered why there is no ordinary switch statement in python. Instead, one had to be content with a multiple-if-else statement.
With Python 3.10, the so called match stament will be introduced, which works basically like the switch statement of other programming languages. So, you have a variable and multiple "case" sections.
I made a simple example to show its basic functionality (https://www.youtube.com/watch?v=37pgHq6FEwo)
Important to know: Unlike other programming languages, you don't need to put breaks in each case to "seperate" them, they are separated automatically.
r/pythonforengineers • u/Trinity_software • May 03 '21
r/pythonforengineers • u/TM_Quest • Mar 04 '21
r/pythonforengineers • u/Trinity_software • Feb 11 '21
r/pythonforengineers • u/DevOps-Journey • Feb 09 '21
r/pythonforengineers • u/Trinity_software • Dec 21 '20
r/pythonforengineers • u/jerryzhao1212 • Nov 07 '20
r/pythonforengineers • u/gajesh2007 • Oct 20 '20
r/pythonforengineers • u/Trinity_software • Oct 08 '20
r/pythonforengineers • u/Spare_Permit1406 • Oct 01 '20
r/pythonforengineers • u/okaydexter • Sep 30 '20
r/pythonforengineers • u/argothecat • Aug 12 '20
r/pythonforengineers • u/argothecat • Aug 01 '20
r/pythonforengineers • u/fxwin16 • Jun 20 '20
r/pythonforengineers • u/binaryfor • Jun 14 '20
r/pythonforengineers • u/fxwin16 • Jun 08 '20
r/pythonforengineers • u/Jordankalebu • May 11 '20