Articles on current page (1-9 of 9)

October 2022

python 39

☑ What’s New in Python 3.9 - New Features

In this series looking at features introduced by every version of Python 3, we move on to Python 3.9 and examine some of the major new features. These include type hinting generics in standard collections, string methods for stripping specified prefixes and suffixes from strings, extensions to function and variable annotations, and new modules for timezone information and topological sorting of graphs.

This is the 19th of the 32 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 26 minutes )

June 2022

python 38

☑ What’s New in Python 3.8 - New Features

In this series looking at features introduced by every version of Python 3, we move on to Python 3.8 and see what new features have been added in this release. These features include assignment as an expression, position-only parameters and two new modules in the standard library.

This is the 17th of the 32 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 21 minutes )

July 2021

python 36

☑ What’s New in Python 3.6 - New Features

In this series looking at features introduced by every version of Python 3, we now move on to look at new features added in Python 3.6. This first article looks at some of the most significant new features added to the language added in this release. These include a new string formatting method, type hinting on variables, and asynchronous generators and comprehensions.

This is the 12th of the 32 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 23 minutes )

25 Jul 2021 at 6:10PM in Software
 | 
Photo by Meg Jerrard on Unsplash
 | 
python 35

☑ What’s New in Python 3.5 - Module Improvements

In this series looking at features introduced by every version of Python 3, this is the fourth looking at Python 3.5. In it we look at the major updates to the standard library which were made in this release. These include various Internet protocol module enhancements, some asyncio features, and some restrictions on regular expression syntax have been lifted.

This is the 11th of the 32 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 32 minutes )

February 2021

python 32

☑ What’s New in Python 3.2

Another installment in my look at all the new features added to Python in each 3.x release, this one covering 3.2. There’s a lot covered including the argparse module, support for futures, changes to the GIL implementation, SNI support in SSL/TLS, and much more besides. This is my longest article ever by far! If you’re puzzled why I’m looking at releases that are years old, check out the first post in the series.

This is the 3rd of the 32 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 48 minutes )

python 31

☑ What’s New in Python 3.1

This article continues to series looking at features added in each release of Python 3.x, with this one covering the move from 3.0 to 3.1. It includes the new contains OrderedDict and Counter, making modules executable as scripts, and marking unit tests as known failures. If you’re puzzled why I’m looking at releases that are years old, check out the first post in the series.

This is the 2nd of the 32 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 19 minutes )

January 2021

python 30

☑ What’s New in Python 3.0

I was slow to make the transition from Python 2 to 3 in the first place, and I never felt like I kept up properly with the new features. So I’m going to aim to do a series of articles looking at a different Python version in each and go through the new features added and catch myself up properly. This one addresses features added in Python 3.0 beyond those already in 2.6, including Unicode by default, type annotations, and exception chaining.

This is the 1st of the 32 articles that currently make up the “Python 3 Releases” series.

Read article ( 33 minutes )

August 2015

no entry

☑ Validating UK Postcodes

I find myself needing to enter UK addresses on a fairly regular basis and it never fails to amaze me how poor some of the syntax checking is - basic validation of a UK postcode is really not even remotely difficult.

Read article ( 5 minutes )

18 Aug 2015 at 6:15PM in Software
 | 
Photo by Alex Rodriguez Santibanez
 | 

June 2013

beach karate

☑ Jinja Ninja

I recently had to do a few not-quite-trivial things with the Jinja2 templating engine, and the more I use it the more I like it.

Read article ( 4 minutes )

1 Jun 2013 at 6:25PM in Software
 |  |