Defining Function In Statement in Python
Today our topic is: function in statement. Here’s the video version: Well, this is probably one of the topics you… Read More »Defining Function In Statement in Python
Today our topic is: function in statement. Here’s the video version: Well, this is probably one of the topics you… Read More »Defining Function In Statement in Python
Today we’ll be talking about the PyDoc HTML reports, which can be used to read documentation in a more visual… Read More »PyDoc HTML Reports to Read Documentation
Today we’ll be talking about slicing numpy arrays. Slicing 1-Dimensional Arrays As far as slicing is concerned, there’s nothing special… Read More »numpy Part 6 – Slicing numpy Arrays
Today we’ll be talking about docstrings. Here’s the video version: Docstrings are used to document functions, classes and modules. They’re… Read More »How to Use Docstrings in Python
Today we’ll be talking about the multiple iterator and the single iterators. Here’s the video version: If you don’t feel… Read More »Multiple Iterator vs Single Iterator
In the previous part we created our project folder and put the assets folder in it. But we didn’t create… Read More »Kivy Part 16 – Slugrace – The File Hierarchy
Today we’ll be talking about the dictionary view. Actually, there are three of them, the keys view, the values view… Read More »Dictionary View: Keys, Values, Items
Today we’ll make a simple animation, in which a ball of tangled wire will rotate around its Z axis and… Read More »Tangled Wire Ball with a UV Sphere in Blender
Today we’ll briefly discuss the two built-in functions: all and any. They are very handy and make our life easier,… Read More »The ALL and ANY Built-in Functions
Today we’ll be talking about indexing numpy arrays. I’m sure you know how to index regular Python sequences like strings,… Read More »numpy Part 5 – Indexing numpy Arrays
Today we’ll be talking about the basics of the iteration protocol, and, to be more specific, about the concepts of… Read More »Iterable vs Iterator – What’s the Difference?
Today we’ll be talking about the else statement used in loops. You definitely know the else block from conditional statements… Read More »The else Statement in WHILE and FOR Loops
Today we’ll be talking about slicing strings. This is what you do if you need to make a substring from… Read More »Slicing Strings Using the Slice Operator in Python
In the previous part of this Kivy programming series you saw the assets that we’ll need for the project. They… Read More »Kivy Part 15 – Slugrace – The Project Folder
Today we’ll be talking about using the string index in Python. Here’s the video version: As you know, strings are… Read More »How to Use the String Index in Python
Today we’ll be talking about the shape of a numpy array. The shape of an array is a tuple of… Read More »numpy Part 4 – The Shape of a numpy Array
Today we’ll be talking about Python boolean operators: and, or and not. In particular we’ll have a look at what… Read More »Boolean Operators in Python and What They Return
Today we’ll be talking about multiway branching, and, to be more precise, we’ll see how to cope with the fact… Read More »Multiway Branching – the Missing switch Statement
As I mentioned in the previous part we’re going to make a short break from programming now and have a… Read More »Kivy Part 14 – Game Assets for the Slugrace Project
Today we’ll be talking about extended sequence unpacking. We’ll see how to assign the elements of a sequence to multiple… Read More »Extended Sequence Unpacking in Python
Today we’ll be talking about the notion of shared reference. What are shared references in Python? Multiple References to Immutable… Read More »Shared Reference with Mutable and Immutable Types
Today we’ll be talking about numpy array dimensions. Vectors – 1-Dimensional Arrays In numpy we can create multidimensional arrays. The… Read More »numpy Part 3 – numpy Array Dimensions
Today we’ll be talking about comparing the relative magnitudes of objects. Here you can watch the video version: It seems… Read More »Compare Objects in Python – Not Just Numbers
In the previous part we discussed some of the Kivy layouts that we’re going to make use of throughout our… Read More »Kivy Part 13 – Embedding Layouts
Today we’ll be comparing the == operator and the is operator. The former tests value equivalence, the latter tests object… Read More »Equality Checks (== vs the is Operator)
Today we’re going to use Python to extrude in Blender along a function graph. We’ll have a look at the… Read More »Extrude in Blender Along Function Graphs Using Python
In the first part of the series you learned how to install numpy and you saw an example of a… Read More »numpy Part 2 – Creating numpy Arrays
Today we’ll be talking about the named tuple. Here’s the video version if you feel like watching it first: Regular… Read More »Using the Named Tuple in Python