Guides and Articles

Short notes on dissertations, analysis, coding, simulation, CAD and writing.

A row of small glass specimen jars on a wooden shelf, each holding a different coloured model beetle, like a collector cabinet of bugs.

Coding

Common Python errors and what they mean

Common Python errors for beginners explained: what SyntaxError, NameError, TypeError, IndexError, IndentationError and more mean, with real messages and fixes.

A machined aluminium plate with a single round hole in its centre on a drafting sheet, beside a steel engineer square and a vernier caliper gripping its edge.

CAD

How to create a 2D drawing in AutoCAD

How to create a 2D drawing in AutoCAD from a blank file: pick a template, set units, make layers, draw lines and circles accurately, then add dimensions.

A brass magnifying glass held over a laptop of dark-theme code, enlarging one line highlighted in red, while a small ladybird sits on the edge of the keyboard.

Coding

How to debug Python code as a beginner

How to debug Python code as a beginner: read a traceback bottom up, check values with print, step through with breakpoint() and fix one error at a time.