Discord is a popular collaboration platform that initially was targeted at gamers that has more than 300million users. Within Discord, there's an ability to create 'bots'. These are computer users...
Storing settings data in Config File in Python
A config file is a flat file but is used for reading and writing of settings that affect the behaviour of your application. These files can be incredibly useful so that you can put individual...
Use subprocess To Execute Commands In Python 3
While working in Python you may come across cases where you want a quick way to run programs you have already written, without tampering with the source code - cases like this are where the...
Get Weather Forecasts And Show It On A Chart Using Python 3
Weather forecast data is available from a range fo online services with different patterns which can generally be accessed via an API call from Python. In this article we'll explore how to extract...
Click Package To Create Command Line Interfaces in Python
There is a simpler way create command line interfaces (CLIs) in python using the click package. When we made CLIs in this article on how to parse arguments we made use of the argparse module. This...
How To Scrape Websites With Login Using Selenium and Python3
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...
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...
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...