Web scraping sites in python can save you a lot of time and can be fairly straightforward when the site structure is consistent. However, what do you do when the information you need to scrape is...
What does the if __name__ = “__main__” mean?
As a Python developer, you must have had an encounter with the following code. If you do not yet know what is for, or why where does __name__ comes from, this guide will try to explain that, and...
Simple Guide To Decorators in Python 3 – When and How to Use Them
Python is a very versatile programming language - there is a great deal you can accomplish with it. Useful as it may be, that versatility has the potential to bring about a bit of confusion with...
How To Scrape Javascript Websites With Selenium Using Python 3
Web scraping is a very useful mechanism to either extract data, or automate actions on websites. Normally we would use urllib or requests to do this, but things start to fail when websites use...
How To Automate Testing With pytest In Python 3
Testing is an extremely important part of having good reliable python code. However, the challenge is that it can be very tiring to manually test your code again and again, and it's also very easy...
Plugin Architecture For Your Code Using pyplugs in Python3
Once your core application is complete, a plugin architecture can help you to extend the functionality very easily. With a plugin architecture, you can simply write the core application, and then...
A Plugin Architecture Using ImportLib In Python 3
For some of your Python applications, a plugin architecture could really help you to extend the functionality of your applications without affecting the core structure of your application. Why would...
How To Send Emails From Gmail Using Python 3
Automating emails and integrating to gmail can be done fairly easily with Python 3 giving you a range of things that can make your applications richer. This will enable you to link email to one of...
How To Access Your Gmail with Python 3
Have you ever wonder how to read and send an email, manage drafts and attachments, search threads and messages, work with labels, set up push notifications, and manage Gmail settings... Well you...
How to Parse Arguments from the Command Line using argparse in Python 3
Having command line parameters is an essential mechanism to manage the behaviour of your application but it can get complex to validate and extract the arguments. In our previous article on...