atlas news
    
Mathspp : Pydon’ts
30  juillet     22h00
Overloading arithmetic operators with dunder methods Pydon’t
   This article shows you how to overload the arithmetic operators in Python with dunder methods. Introduction Python lets you override the arithmetic operators like for addition or for multiplication through dunder methods. Dunder methods are special methods whose name starts and ends with a...
12  juin     22h00
Describing Descriptors Pydon’t
   Descriptors are not black magic and this article will show you that. In fact, you use descriptors every day and you don’t even know it. If you are new here and have no idea what a Pydon’t is, you may want to read the Pydon’t Manifesto. Introduction Descriptors are a piece of the Python world...
13  mai     22h00
Properties Pydon’t
   Learn how to use properties to add dynamic behaviour to your attributes. If you are new here and have no idea what a Pydon’t is, you may want to read the Pydon’t Manifesto. Introduction Properties, defined via the property built in, are a Python feature that lets you add dynamic behaviour...
08  juillet     22h00
Dunder methods Pydon’t
   This is an introduction to dunder methods in Python, to help you understand what they are and what they are for. If you are new here and have no idea what a Pydon’t is, you may want to read the Pydon’t Manifesto. Introduction Python is a language that has a rich set of built in functions and...
03  décembre     23h00
Why mastering Python is impossible, and why that’s ok Pydon’t
   Let me tell you why it is impossible to truly master Python, but also show you how to get as close to it as possible. Photo by Migle Siauciulyte on Unsplash.Introduction It has been said that you need , hours to master a skill. I won’t dispute if that’s true or not. What I’ll tell you is that...
18  novembre     23h00
String formatting comparison Pydon’t
   This article compares the three main string formatting methods in Python and suggests which methods to use in each situation. If you are new here and have no idea what a Pydon’t is, you may want to read the Pydon’t Manifesto. Introduction The Zen of Python says that There should be one and...
03  novembre     22h00
Pass-by-value, reference, and assignment Pydon’t
   When you call a function in Python and give it some arguments... Are they passed by value No By reference No They’re passed by assignment. If you are new here and have no idea what a Pydon’t is, you may want to read the Pydon’t Manifesto. Introduction Many traditional programming languages...
27  septembre     22h00
Conditional expressions Pydon’t
   This Pydon’t will teach you how to use Python’s conditional expressions. If you are new here and have no idea what a Pydon’t is, you may want to read the Pydon’t Manifesto. Introduction Conditional expressions are what Python has closest to what is called a ternary operator in other languages...
24  septembre     17h00
List comprehensions 101 Pydon’t
   This Pydon’t will teach you the basics of list comprehensions in Python. If you are new here and have no idea what a Pydon’t is, you may want to read the Pydon’t Manifesto. Introduction List comprehensions are, hands down, one of my favourite Python features. It’s not THE favourite feature, but...
13  septembre     22h00
set and frozenset Pydon’t
   This Pydon’t will teach you how to use the set and frozenset Python built in types. If you are new here and have no idea what a Pydon’t is, you may want to read the Pydon’t Manifesto. Introduction Python contains a handful of built in types, among which you can find integers, lists, strings,...