skip to main content
joncoded
projects + snippets + thoughts
nooks / python textbook

🐍

2025-11-03

code

[snippets]

Python : introduction

getting started with this data-oriented programming language

🐍

2025-11-03

code

[snippets]

Python input and output

getting user input and showing (calculated) output

🐍

2025-11-03

code

[snippets]

Python variables and data types

storing values in a named piece of memory

🐍

2025-11-03

code

[snippets]

Python operators

doing things to values

🐍

2025-11-04

code

[snippets]

Python branching (if + else + elif)

making decisions between or among conditions

🐍

2025-11-04

code

[snippets]

Python match + case

writing match + case instead of if + elif + else

🐍

2025-11-04

code

[snippets]

Python looping (for + while)

making events happen again and again in Python

🐍

2025-11-04

code

[snippets]

Python functions

grouping code into actionable chunks

🐍

2025-11-04

code

[snippets]

Python looping control (break + continue + pass)

by-passing a loop depending on exceptions

🐍‼️

2025-11-04

code

[snippets]

Python error handling (try + except + finally)

try to do something, except if it fails, then finally do something else!

🐍📦

2025-11-05

code

[snippets]

Python classes and objects

organizing code into blueprints and their instances

🐍🔑

2025-11-05

code

[snippets]

Python access modifiers (public + private + protected variables)

limiting access of variables and functions to a specific code block

🐍📦

2025-11-05

code

[snippets]

Python and object-oriented principles: encapsulation

packaging variables into a single variable for later use

🐍📦

2025-11-05

code

[snippets]

Python and object-oriented principles: inheritance

making a subclass that inherits variables of its superclass

🐍📦

2025-11-05

code

[snippets]

Python and object-oriented principles: polymorphism

different objects with the same variable names

🐍📝

2025-11-05

code

[snippets]

Python strings

performing operations on plain text variables

🐍📋

2025-11-05

code

[snippets]

Python lists

grouping objects into a collection of ordered and changeable items

🐍📋

2025-11-05

code

[snippets]

Python tuples

grouping objects into a collection of ordered but unchangeable items

🐍📋

2025-11-05

code

[snippets]

Python dictionaries

grouping objects into a collection of unordered but changeable key-value pairs

🐍📋

2025-11-05

code

[snippets]

Python sets

grouping objects into a collection of unordered and unchangeable items

🐍✳️

2025-11-11

code

[snippets]

Python unpacking operator

allowing any number of arguments in a function

a jxc project - also known as jonchius

built with sanity + next.js in the early 2020s

other sites : jonolist + jononews