Congratulations, dear reader, on completing your quest. But be warned, opening the Door was but the first step of your journey. You now have an understanding of all the fundamental programming concepts required to begin making useful things. But what exactly will you do from here on out? Allow me to make a few suggestions: […]
Demons & Dwarves
Intro to Python, Chapter 8 – Opening the Door
Baldric was suddenly standing in a crowd of soldiers. Not Imperial soldiers thankfully. These were more ragtag, wearing random bits of armor here and there. Some had swords and shields, though most had spears or clubs or long knives. One formidable-looking woman appeared to be wielding a frying pan. They were all hurrying away in […]
Intro to Python, Chapter 7 – Imports and Nesting
Baldric had been a town guard for years, breaking up fights and catching thieves and helping the elderly cross the street. When the Empire arose and moved him to HR, he dragged prisoners to staff meetings and hauled corpses away without thinking much of it. Law and order was better than letting those rebels Management […]
Intro to Python, Chapter 6 – Built-in Functions and Methods
Magic-wielding escapees were desperately deflecting the Imperial attacks on the fortress’ supports as best they could, but Baldric could see it was only a matter of time before they all took a dive, like so many employees before them, into the lake of fire. Of course, HR prisoners usually died by some other means first, […]
Intro to Python, Chapter 5 – Loops
Baldric groggily opened his eyes and was greeted by a splitting pain in his head. He had been having the strangest dream, something about a crystal, and a snake eating its own tail, and…a singing head of cabbage? Strange indeed. He looked around in the dim torchlight and found himself in a large cell of […]
Intro to Python, Chapter 4 – Functions
Baldric emerged from the passageway to find himself in an enormous cavern, its ceiling lost in shadow. Great columns of black stone soared from the ground, and pools of lava bubbled throughout, lighting the cavern in a dark red. The heat was suffocating. Baldric saw Bill standing on a stone outcrop nearby, apparently scanning for […]
Intro to Python, Chapter 3 – Conditional Statements
Emerging from the sewer, Baldric found himself in the basin of a dry fountain. In its center was a marble statue of a massive fist which appeared to be composed of many entangled bodies. Employees, by how they were dressed. There were holes in various mouths and eyes that were apparently meant to be channeling […]
Intro to Python, Chapter 2 – Strings and Lists
Something was really bothering Baldric about 106479825301.0, the answer to the mysterious request he’d received. Sitting down at his desk after enduring his meeting with Kevin, he realized what it was. If you only looked at the answer’s whole number portion… …then every number from 0 to 10 appeared exactly once in the larger number’s […]
Intro to Python, Chapter 1 – Arithmetic and Variables
Seated in his cubicle, Baldric tried to block out the buzz of busy clerks scattered about the office. The usual mix of apathy, grumpiness, and existential dread filled his thoughts, but something was tugging at the back of his mind. It felt vaguely like a sense of…hope. Almost as if there was finally a way […]
Intro to Python, Prologue – The Door
His feet carried him through corridor after dark corridor, soft steps echoing in the stillness. He could feel something in these halls calling to him, drawing him near. He turned a corner and there it was, what he somehow knew he would find. A door, seemingly hewn from the surrounding stone. While it bore no […]