#Python

6 posts tagged Python

Cellular Tomato

In preparation for my next video I’ve been tidying up some cellular automata code I wrote. There’s some good old Conway’s Life, some 1D CAs that make pretty patterns, and one I recently discovered called Wire World.

Python Commandline Argument Parsing

A quick set of notes on how to parse command line arguments properly in Python. This uses the argparse module, totally removing any effort on your part when it comes to processing command line switches.