For any program to be useful, you need to be able to take data in. There are many ways of doing that, and you need to decide which way works best for you in a given situation. Data can be obtained...

For any program to be useful, you need to be able to take data in. There are many ways of doing that, and you need to decide which way works best for you in a given situation. Data can be obtained...
There are some interesting data on our environment such as air quality factors that can be available from public datasets. This can be useful to determine if there are health risks in your local...
We know everyone hates setting property fields in Python classes, here’s how you can create getter setter properties in python classes to do it for you. In this article, you’ll see how to create...
The command line is a big part of using and understanding programming in Python. In this article, we will cover the command line parameters argv and argc - their origin and how you can use them....
Managing lists is a very common task in any program activity. Within python it's fairly straightforward to do. One area that come up is to remove items from a list while iterating in Python...
Managing lists (or arrays as known in other languages) in python is a common task where you often need to take a section from the list - e.g. a slice of the list. This is where slice() can be used...
In this tutorial, we are going to learn about how to automate the process of removing files in a specific folder using python. We are going to use different packages but mainly our programming logic...
Determining the current date is a public holiday can be tricky when holidays change and it of course changes from country to country. From system time of servers & machines running to timestamps...
Python offers an option to print strings in color so that information in the console can be much easier to comprehend. This can be incredible useful when reading long log files, seeing console...
If statements are present in all our code and can in fact be written efficiently in a single line. A condition-less code will be monotonous and one couldn't do much with such a linear flow. If...