Blog

My best programming tips, advices and tutorials are here!

Card image cap
Snake Game Tutorial using Python and Pygame

Learn to program the snake game in python using the pygame library. Build the game gradually starting with the simplest logic and adding complexity.

Posted by Marta on November 22, 2021

Card image cap
How to convert XML to CSV in Python – Step by Step guide

Learn to convert XML to CSV in Python using three different Python modules: xml.etree, xmltodict and untangle. Find out which one is more efficient.

Posted by Marta on October 9, 2021

Card image cap
How To Fix: Hadoop command not found error

Learn how to fix the error Hadoop command not found, so you can fix your Hadoop installation and start working on big data projects.

Posted by Marta on October 6, 2021

Card image cap
How to Fix Java.net Malformed Url Exception

Learn the main reason why you will face the Java.net Malformed Url Exception in Java

Posted by Marta on September 23, 2021

Card image cap
How To Fix String Indices must be Integers in Python

Learn how to fix the TypeError: string indices must be integers error in Python with examples. More robust programming style.

Posted by Marta on May 2, 2021

Card image cap
How To Build a Youtube Comment Bot with Python

Learn to build a youtube comment bot step by step using Python and the Selenium library. A youtube comment bot to help you grow your youtube audience.

Posted by Marta on April 20, 2021

Card image cap
How to Make a Website like Youtube

Learn how to make a website like Youtube. Learn the fundamentals of how to stream videos and build a video player website step by step.

Posted by Marta on May 11, 2021

Card image cap
Sql Between Operator with Dates and Numbers

Learn how to use the SQL Between operator. Including examples of how to use this operator with numbers as well as with dates.

Posted by Marta on March 30, 2021

Card image cap
Random Class in Java Simply Explained

Learn what is the Random class in java and how to use it. Some Java code examples included which you can reuse in your own code!

Posted by Marta on March 28, 2021

Card image cap
How To write a Rock Paper Scissors Game in Java – Step by Step

Put together everything you know about programming to build a rock paper scissors game in java that makes you feel proud of yourself. Step by step guide.

Posted by Marta on September 20, 2021

Card image cap
Python Collections: namedtuple and deque make simple

Learn new two python collections: namedtuple and deque. How to use them, and the critical benefits versus the similar built-in collections.

Posted by Marta on January 24, 2021

Card image cap
How to Remove Item from a List with Python

Learn how to remove an item from a list with Python. Python makes this operation easy to perform; there are a few ways to achieve this in Python.

Posted by Marta on January 24, 2021

Card image cap
Custom Java Spring Boot Banner in Simple Steps

Learn how to configure your spring boot application with your favorite banner and customize it further using images and including variables.

Posted by Marta on January 14, 2021

Card image cap
How to Print in Java – Complete guide

Learning how to use the java print and other methods to print messages to the console using Java. See how print an array and an object to the console.

Posted by Marta on March 28, 2021

Card image cap
QuickSort Visualization – Simply Explained

Learn how the quicksort sorting algorithm works step by step. Including quicksort visualization and the implementation in Java.

Posted by Marta on January 10, 2021

Card image cap
How to Count Repeated Characters in String using Java

Find out the main ways to count repeated character in a String using Java. Different approaches using HashMap, Recursion and without using loops.

Posted by Marta on December 24, 2020

Card image cap
Finally all Steps to Design a Vending Machine in Java

Design a vending machine in Java step by step from requirements to implementation. Text based vending machine program. Java Source code included.

Posted by Marta on June 10, 2021

Card image cap
How to Check if a String is a Number in Java

Take a look at how to check if a String is a number in Java. Several ways to achieve this in Java, how they work, and analyse their performance.

Posted by Marta on December 18, 2020

Card image cap
All-In-One Gregorian Calendar Java Guide including Example

Learn how to use the Gregorian Calendar java class and an example. How you can get today’s date, the day of the week, and manipulate dates.

Posted by Marta on December 18, 2020

Card image cap
Best Books to Master Object Oriented Programming

Best four books on Object Oriented Programming and most recommended. Each book describes object oriented programming from a different perspectives.

Posted by Marta on January 26, 2021

Card image cap
Design a Java Elevator System as easy as you think

Design an elevator system in java. This exercise will hep you get better at programming and ready for your programmer interview.

Posted by Marta on January 26, 2021

Card image cap
4 Simple Tricks to Write Java Clean Code

Learn four simple and practical tricks that will help you write java clean code that is clean, readable and easy to maintain.

Posted by Marta on December 18, 2020

Card image cap
Apache Spark Java Tutorial: Simplest Guide to Get Started

Apache Spark Java Tutorial. Learn how to write a simple Spark application. No previous knowledge of Apache Spark is required.

Posted by Marta on January 20, 2021

Card image cap
All-in-One Guide: How to work with a CSV file in Java

Learn how to work with CSV file in Java. You will see how to read data from a file and how to write into a file. Widespread tasks, necessary when you need to persist your data.

Posted by Marta on December 18, 2020

Card image cap
How to Write a Check Anagram Program in Java

Learn how to create an anagram program in java. Three different approaches to solve this problem, plus big o analysis of each solution.

Posted by Marta on December 18, 2020

Card image cap
Maven Jar Plugin – How to make an executable jar file

Learn step by step how to create a jar executable file, using the maven jar plugin. And also how to include dependencies in your executable jar.

Posted by Marta on December 18, 2020

Card image cap
Install Hadoop on Mac – Ultimate Step by Step Guide

Learn how to install the hadoop system in your mac machine, including a brief reminder of what hadoop is and its architecture.

Posted by Marta on October 2, 2021

Card image cap
Creating a Speech Recognition Program with Python & Google API

In this tutorial, you will learn step by step how to perform speech recognition, voice to text, in Python using the Google Api.

Posted by Marta on December 18, 2020

Card image cap
Automate Data Entry – How to Create a Selenium bot

Step by step tutorial. Learn to create a selenium bot that will automate any data entry task you like. Learn how to log in to a site with a bot.

Posted by Marta on December 18, 2020

Card image cap
What is Gitk? A comprehensive guide

Learn what is gitk and what is for? And also the tasks you can do inside gitk. The gitk tool helps you visualise the git repository history.

Posted by Marta on December 18, 2020

Card image cap
What is the purpose of the python class initializer?

This tutorial will help you to understand what is a python class initializer and its purpose in python. Including examples with the source code.

Posted by Marta on January 13, 2021

Card image cap
Python Indentation Error Simply Explained

This article will help understand the python indentation rules and when and why you could encounter a python indentation error.

Posted by Marta on January 25, 2021

Card image cap
How to Fix Java Error – Identifier Expected

Learn how to fix the java error: identifier expected to get a better understanding of this error and being able to avoid in the future

Posted by Marta on November 21, 2021

Card image cap
How to shuffle a string in java

Learn how to shuffle a string in java in two different ways, using java 7 and java 8. Code Examples Included. Move the characters out of order.

Posted by Marta on December 18, 2020

Card image cap
How to open a web browser in python

Learn how to open a web browser in python. I will show two ways to achieve this, using two different libraries and which libraries is best for your case.

Posted by Marta on January 13, 2021

Card image cap
How to Return Multiple Values in Java

Learn how to return multiple values in java. There are three main ways to return multiple values. This tutorial include code examples and explanations.

Posted by Marta on December 18, 2020

Card image cap
How to Fix Modulenotfounderror: no module named ‘pygame’

I will show why you might encounter the error modulenotfounderror: no module named ‘pygame’ when you are creating a game using the python library pygame.

Posted by Marta on October 4, 2021

Card image cap
Runnable vs Callable – Find out the differences

Learn what is a runnable , what is a callable and the difference between the two, runnable vs callable. And how to execute them with code examples.

Posted by Marta on December 18, 2020

Card image cap
What is a mutator method in Java?

Learn what is a mutator method in java and the benefits of using mutators and accessor methods. All explanations include examples to illustrate.

Posted by Marta on December 18, 2020

Card image cap
How to Write a Tic Tac Toe Game in Java using classes

Learn to code a Tic Tac Toe game in java using classes, all code is included with explanations. Really fun exercise to sharp your programming skills.

Posted by Marta on October 1, 2021

Card image cap
Java 8 Cheat Sheet – Most Used Conversions – Char To String

Most often used java conversions all together: char to string, string to char, char to int, int to char, get the length of a string and more.

Posted by Marta on December 18, 2020

Card image cap
Comprehensive Imshow Matplotlib Tutorial : Custom a graph

Learn how to install matplotlib, how to customise your graph: change the font size, the background color, etc and using the imshow function.

Posted by Marta on December 18, 2020

Card image cap
How to Fix – no module named Tkinter error

Explain why you might encounter the error – no module named tkinter – when you are writing a python program and how you can get around this error.

Posted by Marta on March 27, 2021

Card image cap
Python Errors: Nameerror name is not defined and more

Learn the main python errors, how to interpret them, how they arise, so you can avoid them. Your code will be more stable and reliable

Posted by Marta on December 18, 2020

Card image cap
Django: order by and filter with examples

How to use the database method order by and filter in django. Help you to select the specific entries from the database and receive them in a given order.

Posted by Marta on December 18, 2020

Card image cap
Beautifulsoup Python Guide – Install, Find by Class and more

In this tutorial I will show you how to install the beautifulsoup library in Python and use some of the most popular methods such as find by class, findall, find by id, etc

Posted by Marta on December 18, 2020

Card image cap
How to Use Return in Python programming?

What is the use of return in programming with example. How to return multiple values using return and the difference between using return and print.

Posted by Marta on December 18, 2020

Card image cap
Python int function – Ultimate Guide

In this tutorial I will share how the int() function works in python, the purpose of the function, different parameter types the function accepts

Posted by Marta on August 6, 2020

Card image cap
How to Count Occurrences in String in Python

In this tutorial I will share the main libraries and methods in python that allow you to count occurrences in a string and in a list.

Posted by Marta on December 18, 2020

Card image cap
How to Get the day of the week in Python

In this tutorial I will share how you can get the week day: Monday, Tuesday , etc given a certain date in Python. Using libraries and without libraries.

Posted by Marta on April 23, 2021

Card image cap
How to Fix Valueerror: too many values to unpack

In this article, I will explain the main reason why you will encounter the Valueerror too many values to unpack error in python and a few different ways to fix it. I think it is essential to understand why this error occurs, just because if you have a good understanding of what caused it, you […]

Posted by Marta on May 22, 2021

Card image cap
How to Fix Typeerror: ‘int’ object is not subscriptable

I will share the main reason why you will encounter the Typeerror ‘int’ object is not subscriptable error and a few different ways to fix it

Posted by Marta on November 21, 2021

Card image cap
How to convert XML to JSON in Python – Step by Step guide

In this article I will share how you can convert an XML to JSON in Python and the different python modules available to achieve this.

Posted by Marta on November 21, 2021

Card image cap
How to Create Tkinter Progress Bar and DropDown

I will show you step by step how you can add a progress bar and a dropdown widget to you user interface develop using Tkinter

Posted by Marta on December 18, 2020

Card image cap
How to Fix Typeerror a bytes-like object is required not ‘str’

I will explain the main reason why you will encounter the error Typeerror a bytes-like object is required not ‘str’ and a few different ways to fix it.

Posted by Marta on March 24, 2021

Card image cap
DFS in Python: 2 Algorithms I wish I have learned earlier

DFS Algorithm simply explained. Learn how to use DFS in Python (Depth For Search). The difference between DFS and BFS. Source Code Included!

Posted by Marta on January 27, 2021

Card image cap
How to Check Django Version – Step by Step Guide

There are different ways you can check the Django your version. In this article, I will share a couple of them. I will also share how you can upgrade and downgrade the Django version, uninstall Django, something you might do if you are running into problems and decide to uninstall it and install Django again. […]

Posted by Marta on January 25, 2021

Card image cap
Convert string to list python – Ultimate guide

Ultimate guide to show you know to convert string to a list with python

Posted by Marta on December 18, 2020

Card image cap
Problem solving with algorithms and data structures review

Find an overview of the topics covered in the “Problem Solving with algorithms and data structures” book. And why you should consider reading this book.

Posted by Marta on December 18, 2020

Card image cap
Absolute Value Python function with Examples

In this article I will explain how to calculate the absolute value in python, provide you with some examples and some coding problems

Posted by Marta on December 18, 2020

Card image cap
How long does it take to learn Python?

In this article I will talk about how long does it take to learn python as a first programming language. The steps to follow and how long to spend on each.

Posted by Marta on January 27, 2021

Card image cap
Python Graph Implementation Exercise – Plan a delivery route

Start getting ready for coding interviews. Python assignments for practice. Great example of why data structures are important for optimizing your code.

Posted by Marta on December 18, 2020

Card image cap
What is OpenCV used for?

I will explain you what is the purpose of opencv, and some cool applications. Plus I will show you how to perform face detection with opencv. FIVE LINES OF CODE!!

Posted by Marta on December 18, 2020

Card image cap
Types of Data Structures in Python

I will show you the four types of data structures in python which are more commonly used.

Posted by Marta on December 18, 2020

Card image cap
Cool things to do with Python – Youtube Downloads

Fun and cool things to do with python. Learn how download youtube videos.

Posted by Marta on December 18, 2020

Card image cap
What is a class and an object in python programming?

Learn what is a class and an object in python programming. Key concepts of object oriented programming paradigm. Start writing code as a profesional.

Posted by Marta on January 5, 2021

Card image cap
Am I too old to learn programming? Do I need a degree? Absolutely not!!

What should you consider when deciding if learning to program? Age or Not Having a Degree should not stop you

Posted by Marta on December 18, 2020

Card image cap
Starting out with Python – Step by Step Guide

Show you what you need to learn when you are start programming. Basics, Find code challenges, etc

Posted by Marta on December 29, 2020

Card image cap
Fun Things to do with Python for Beginners

Learn four fun things you can do with python and that can be a great practice projects for any beginners. Put in practice your programming skills.

Posted by Marta on January 25, 2021

Card image cap
Python Unit Testing Frameworks with examples

Learn what unit testing is exactly, why it is important to write unit tests and the most popular python unit testing frameworks with some examples.

Posted by Marta on December 18, 2020