Object oriented programming (OOP) in general is a huge topic, but I have decided to make a 30 minute video, based on the book Math for Programmers, as I liked the way it was explained there: Generally, in the video, …

Object Oriented Programming with Python – YouTube video Read more »

Working with Python and Excel is actually quite handy, especially if you are into it. In this article, you can see how to create Excel files, write data and formulas into them and read these. Pretty much simple CRUD methods. …

Simplifying Excel Tasks with Python: Data Handling and Testing Tutorial Read more »

In the previous article, the post and get API methods were presented. In this one, Put and Delete are coming. 🙂 Well, nothing that fancy, this is how these two methods look like: # Update item by id @app.route(‘/api/items/<int:item_id>’, methods=[‘PUT’]) …

Python API With Flask And Postman – Put and Delete Methods Read more »

In the attached video below, I am simply showing the following 3 pieces of code with Jupyter Notebook: Remove spaces in dataframe columns. Remove none values from dataframe rows. Filter dataframes, based on values. E.g. – put all rows with …

Python – Remove spaces and None from pandas dataframe Read more »

Have you ever dreamt about coding classes like a pro? No? You had “normal” dreams? Anyway, in the video below, I am solving 3 exercises with a lot of debugging and some basic tests. Exercises are from the book Python …

Python OOP – Classes, Methods, Attribures, Composition, Inheritance Read more »

Python allows decent built-in logging. As I am going to explain in the video below, the built-in logging is actually rather neat – it allows everyone to log into a file or into the console within minutes – just the …

Python – Logging into a file and into the console Read more »

Nothing related to python, just a nice picture I took from the weekend!

This is probably a python “feature” that every junior developer has bumped into – once you make an empty list as a default argument in Python, it works as expected only for the first object of the class. For the second object – not exactly. Don’t worry, everyone has hit that bug, even it they are not willing to admit it.

Creamer’s rule for a solution of linear equations states pretty much the following: Using this interesting picture from the German Wikipedia, I have created the following video, explaining a bit the Rule of Mr. Cramer: The video goes through the …

Python – Cramer’s Rule for Linear Equations – With YouTube Video Read more »

Same article, but for VBA is here – https://www.vitoshacademy.com/vba-split-worksheet-to-worksheets-save-excel-worksheets-to-csv/ This article does 2 things: Splits one worksheet to multiple worksheets Then goes through the worksheets and saves them as *.CSV files So what is the idea? Having this excel file, …

Python – Split worksheet to worksheets, save Excel worksheets to csv Read more »

The idea of the article is to provide a Python code that does the following: Takes a list or DataFrame; Splits it into quite a few smaller parts; Writes each one on a separate Excel worksheet; Pretty much like this: …

Python – Write a DataFrame or List to multiple tabs in Excel Read more »

Sometimes you need to do what you need to do – use Regular Expressions for a trivial task. Now, imagine that you have some big text and you need to extract all substrings from the text between two specific words …

Python – Find All Substrings Between Two Character Pairs with RegEx Read more »