My GUI Programming with Python and Kivy Book
Hey guys, my GUI Programming with Python and Kivy book has finally been published. It’s pretty long (over 800 pages)… Read More »My GUI Programming with Python and Kivy Book
Hey guys, my GUI Programming with Python and Kivy book has finally been published. It’s pretty long (over 800 pages)… Read More »My GUI Programming with Python and Kivy Book
In the previous part of the series we created the skeleton of the Portfolio website. Now it’s time to create… Read More »Django Portfolio Project – Part 3 – The Models
In the previous part of the series we created the Portfolio application. ln this part we’ll create a basic structure… Read More »Django Portfolio Project – Part 2 – The Structure of the Project
In this series we’ll be creating a web application with Django. In particular, we’ll be creating a Portfolio app where… Read More »Django Portfolio Project – Part 1 – Starting the Project
Programs process data, which is represented by objects. In Python everything is an object: variables, literals, functions, classes, modules. In… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 13 – Data Types and Operators
We use loops if some code must be repeated multiple times. It can be either a fixed number of times… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 12 – Loops
Wireframes and Surface Plots Today we’ll be talking about wireframe and surface plots. We’ll be using our example from the… Read More »matplotlib Part 29 – Wireframes and Surface Plots
Hey guys, in the previous part of the Kivy series we added the set_players method to the on_press event on… Read More »Kivy Part 52 – Slugrace – Slug Settings
Sometimes we want our code to be executed conditionally, not every time. Or, we may want to define several different… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 11 – Conditional Statements
We often want to add some information to our code to make it clear and easy to understand. It can… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 10 – Comments
Hey guys, in the previous part of the Kivy series we handled the radio button events in the Settings screen.… Read More »Kivy Part 51 – Slugrace – Player Settings
Like all programming languages, Python has its specific syntax that you should familiarize yourself with. In this and the couple… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 9 – Statements
In Python everything’s an object. Variables, functions, modules and all the other stuff we’re about to learn are objects. And… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 8 – Naming Rules
Hey guys, in the previous two parts of the series we were talking about events in Kivy. In this part… Read More »Kivy Part 50 – Slugrace – Settings Screen Events
We’ve used the term VARIABLE a couple times so far. But what exactly are variables and how to use them… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 7 – Variables
In the previous lesson we were talking about output. Let’s talk about user input today. To enter text we use… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 6 – User Input
3D Contour Plots Today we’ll be plotting contours in 3D. To this end we need the contour method. This method… Read More »matplotlib Part 28 – 3D Contour Plots
What you type into your machine is input. What the machine produces for you is output. Let’s have a closer… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 5 – Text Output
In the previous part of the Panda3D series we tested all the animations for our slug model. We are now… Read More »Panda3D Part 21 – The File Hierarchy in the Slugrace3D Project
Python code can be written and executed in: – the Python interactive shell – the Python interactive window – a… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 4 – Writing and Executing Python Code
Hey guys, in the previous part of the series we created the Game class, or rather renamed the SlugraceScreenManager class… Read More »Kivy Part 49 – Events in Kivy
In order to be able to work with Python, we need to install two things: – Python itself – a… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 3 – Working Environment
Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. Python was developed by Guido van Rossum at the… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 2 – About the Python Programming Language
In this course we are going to learn Python 3. This is a course for beginners who have never learned… Read More »PYTHON JUMPSTART COURSE Section 1 – Introduction, Lesson 1 – About This Course
3D Points and Lines Now that you know what 3D projection is, it’s time to actually plot something. Let’s start… Read More »matplotlib Part 27 – 3D Points and Lines
Axes3D and 3D Projection 2D plots are great and in most cases they’re all you need. But if you need… Read More »matplotlib Part 26 – Axes3D and 3D Projection
The Colorbar for Scatter Plots Some time ago we were talking about scatter plots. In the previous article we were… Read More »matplotlib Part 25 – The Colorbar for Scatter Plots
Colorbars In the preceding articles we were talking about colormap plots and contour plots. We know that the colors represent… Read More »matplotlib Part 24 – Colorbars
Contour Plots In the previous article we were talking about color maps. Today we’ll be talking about contour maps, which… Read More »matplotlib Part 23 – Contour Plots
Colormap Plots In this article we’ll be talking about colormap plots. These are used to represent three-dimensional data in 2D.… Read More »matplotlib Part 22 – Colormap Plots
Errorbars In this article we’ll be talking about errorbars. We use them to add information about possible errors or uncertainties.… Read More »matplotlib Part 21 – Errorbars
2D Histograms In the previous article we were talking about histograms. Today we’ll be talking about two-dimensional histograms, which we… Read More »matplotlib Part 20 – 2D Histograms
Here’s another article in the Functions in Python series, about variable scopes in nested functions. If you haven’t read the… Read More »Functions in Python – Variable Scopes in Nested Functions
Histograms In this article we’ll have a look at histograms, binnings and density plots. Let’s create a simple histogram using… Read More »matplotlib Part 19 – Histograms
Here’s another article in the Functions in Python series, about local and global variables. If you haven’t read the previous… Read More »Functions in Python – Local and Global Variables
Hey guys, in this part of the Kivy series we’re going to implement the Game class. This is the class… Read More »Kivy Part 48 – Slugrace – The Game Class
Scatter Plots with the scatter Method In the previous article we were using the plot method to create scatter plots.… Read More »matplotlib Part 18 – Scatter Plots with the scatter Method
Here’s another article in the Functions in Python series. This time about functions returning functions. If you haven’t read the… Read More »Functions in Python – Functions Returning Functions
Scatter Plots with the plot Method So far we’ve been only using line plots. But there’s a great variety of… Read More »matplotlib Part 17 – Scatter Plots with the plot Method
In the preceding parts of the series we were working on the screens of our app. We’re now pretty much… Read More »Kivy Part 47 – Slugrace – Main Game Logic Classes
Today we’ll be creating an abstract spiral animation. To do that we have to create a spiral first, which we’re… Read More »Abstract Spiral Animation in Blender
Here’s another article in the Functions in Python series. Today we’ll learn how to pass functions as parameters. If you… Read More »Functions in Python – Functions As Parameters
Here’s another article in the Functions in Python series. Today we’ll be talking about assigning functions to variables. If you… Read More »Functions in Python – Assigning Functions to Variables
The Subplot2grid Layout Manager Most of the time we’ve been creating figures and axes using the plt.subplots method. Today let’s… Read More »matplotlib Part 16 – The Subplot2grid Layout Manager
Here’s another article in the Functions in Python series. Today we’ll be talking about calling functions in other functions. If… Read More »Functions in Python – Calling Functions in Other Functions
DATASET CONCATENATION We can concatenate Series and DataFrame objects using the pd.concat method. Here’s a simple example of concatenation. Let’s… Read More »pandas Part 24 – Dataset Concatenation
Today we’ll be creating an animation with an image texture on cubes that looks disordered at the beginning and becomes… Read More »Ordered Image on Disordered Blocks in Blender
Here’s another article in the Functions in Python series. Today we’ll be talking about nested functions. If you haven’t read… Read More »Functions in Python – Nested Functions
Hey guys, I have some online stuff you might be interested in. Let me talk about it for a while.… Read More »My Online Courses, Books and Magazines
Here’s another article in the Functions in Python series. If you haven’t read the previous parts yet, feel free to… Read More »Functions in Python – Arbitrary Number of Both Positional and Keyword Parameters
Hey guys, today we’ll be talking about transitions in Kivy. But before we start, here’s some info for you. *****… Read More »Kivy Part 46 – Slugrace – Transitions
DATA AGGREGATION ON MULTIINDICES We can aggregate hierarchically indexed data using common aggragation methods like mean, sum, min or max.… Read More »pandas Part 23 – Data Aggragation on MultiIndices
Insets You can create axes that sit inside other axes. You can come across examples of axes that display magnified… Read More »matplotlib Part 15 – Insets
Here’s another article in the Functions in Python series. This time we’ll be talking about keyword parameters again. If you… Read More »Functions in Python – Arbitrary Number of Keyword Parameters
Hey guys, in the previous part of the Kivy series we were talking about switching between screens. Today we’ll be… Read More »Kivy Part 45 – Slugrace – Managing Screens
Hey guys, I’m excited to deliver this very first issue of Your Panda3D Magazine to you. This is a new… Read More »Your Panda3D Magazine – Issue 1 (2022-1)
Here’s another article in the Functions in Python series. This time we’ll see how to pass an arbitrary number of… Read More »Functions in Python – Arbitrary Number of Positional Parameters
Twin Axes Sometimes you may want to display two independent axes at the same time, like for example when you… Read More »matplotlib Part 14 – Twin Axes
Hey guys, before we move on to the next part of the Kivy series and talk about switching screens, here’s… Read More »Kivy Part 44 – Slugrace – Switching Between Bets and Results Screens
SETTING AND RESETTING INDICES In the previous part of the Pandas series we were talking about sorting indices. Today we’ll… Read More »pandas Part 22 – Setting and Resetting Indices