• Skip to primary navigation
  • Skip to main content

data Rebellion

Learning through Adventure

  • Home
  • Blog
  • Beginner Python Course
    • Preface – The Journey Ahead
    • Prologue – The Door
    • Chapter 1 – Arithmetic and Variables
    • Chapter 2 – Strings and Lists
    • Chapter 3 – Conditional Statements
    • Chapter 4 – Functions
    • Chapter 5 – Loops
    • Chapter 6 – Built-in Functions and Methods
    • Chapter 7 – Imports and Nesting
    • Chapter 8 – Opening the Door
    • Epilogue – Only the Beginning
  • About
  • Contact
You are here: Home / Demons & Dwarves / Intro to Python, Preface – The Journey Ahead

Intro to Python, Preface – The Journey Ahead

Updated March 25, 2021. Published October 24, 2017. 1 Comment

Data Rebellion presents…

Demons & Dwarves: An Intro to Python Adventure Course

Python can help break the loop of boring office work

“ouro7” by Rex Housour, used under CC BY-SA 2.0, cropped original

Table of Contents

  • Prologue – The Door
  • Chapter 1 – Arithmetic and Variables
  • Chapter 2 – Strings and Lists
  • Chapter 3 – Conditional Statements
  • Chapter 4 – Functions
  • Chapter 5 – Loops
  • Chapter 6 – Built-in Functions and Methods
  • Chapter 7 – Imports and Nesting
  • Chapter 8 – Opening the Door
  • Epilogue – Only the Beginning

Call to Adventure

A shadow falls over the land. Hero after hero arises to confront the encroaching evil, yet hero after hero is mercilessly slain (or accepts an offer for a pretty sweet management gig). Now, only two things stand between the Emperor and his mysterious but undoubtedly unpleasant ambitions: a dwarven office clerk and the Python programming language. Welcome to the world of Demons & Dwarves.

Demons & Dwarves is an introductory Python programming course in the form of a story that revolves around a puzzle. As you progress through the story, you will learn all of the programming concepts required to solve the puzzle. These are also more or less the minimal set of concepts required to begin programming useful things in the real world.

In case the puzzle remains cryptic in spite of your efforts, know that there are one or more hints hidden in every chapter, some more subtle than others, and that each section of the puzzle has at least one corresponding hint.

Preparing for the Journey Ahead

To get the most out of Demons & Dwarves you will want to not only run the code that occurs in the story as you read through it, but tinker with the code and test creative hypotheses about what might work and why. The more errors the merrier.

To run your code, you’re going to need a code editor. Here are a few options that I suggest:

  • repl.it: a convenient online editor. You can even make a free account and save your code there.
  • Python IDLE: the basic editor that comes with a Python installation
  • Spyder: an advanced editor that comes with an Anaconda installation

If you’re brand new to programming, you may also want to read up on the difference between running code in interactive mode versus script mode, as the code in some parts of the story will be easier to run in a particular mode.

Leave a comment if you have any questions.

Acknowledgements: Demons & Dwarves was inspired by many other works, but The Wheel of Time series in particular.

Prologue – The Door >>>

Python Automation Project Ideas Ebook Front Page

Free Ebook: 88 Python Project Ideas for Automating Your Life

The best way to learn programming is by working on real-world projects, so why not work on projects that also save you time and sanity? In this free, curated collection, you'll find project ideas for automating:

  • Common office tasks
  • Birthday gifts and wishes
  • Grocery and meal planning
  • Relationships (just the tedious parts!)
  • And quite a bit more

Subscribe to Data Rebellion and get this Ebook delivered straight to your inbox, as well as other exclusive content from time to time on efficiently learning to code useful things, vanquishing soul-crushing work, and having fun along the way.

Reader Interactions

Comments

  1. justinpol says

    October 19, 2021 at 6:34 am

    wow..!!! I’m so thankful to you for sharing this post, Good Information about python certification I ought to research about python. keep in touch and stay related and guide us more.

    Reply

Leave a comment Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2023

Terms and Conditions - Privacy Policy