Course Information
- Available
- *The delivery and distribution of the certificate are subject to the policies and arrangements of the course provider.
Course Overview
Learn to think like a computer scientist with of one of the world's most popular programming languages
Python is one of the world's most popular programming languages, and with good reason: it is extremely flexible, easy to learn, and runs on a wide variety of devices and platforms. In fact, Python recently moved to first place in the TIOBE programming community index, which is a remarkable achievement.
This course is an introduction to Python, version 3.10. Unlike many introductory courses, we will not spend hours surveying the basics of the language; personally, I see no point in doing that, since there are already many, many free resources online that do precisely that. Instead, we'll learn the language in the way that I have long preferred: we'll actually build something.
The bulk of this course will be focused on building a simple text adventure game, where the player explores a labyrinth, encounters monsters, engages in combat, finds items, and that sort of thing. It's a bit of a throwback to the early days of computer games, but the important thing here is not the quality of the game that we'll build, but rather that we'll cover all of the things you need to get started programming in Python, including:
Python's primitive data types: integer, float, string, and boolean
Python's aggregate data types: tuple, set, dictionary and list
How to make decisions in Python: if/elif/else
How to loop in Python: for and while loops
How to write functions
How to import from the standard library, and third party packages
How to structure a Python program
How to perform mathematical operations in Python
How to manipulate strings in Python
How to work with classes in Python
And, as the saying goes, much more. Periodically, I'll include "aside" lectures, which focus on a particular aspect of Python in more detail, with simple code examples that are not part of the main project.
This course requires no previous programming experience.
Course Content
- 7 section(s)
- 66 lecture(s)
- Section 1 Introduction
- Section 2 Getting started with Python and our adventure game
- Section 3 Making the Game functional with Classes
- Section 4 Implementing an Inventory
- Section 5 Implementing a turn-based combat system
- Section 6 Keeping track of player location using a map
- Section 7 Improving the game interface
What You’ll Learn
- Learn the basics of Python, one of the most popular programming languages in use today
- Learn the syntax of the Python language by writing a text-based adventure game
- Learn about the difference between Object-oriented and procedural programming
- Learn to think like a computer scientist: making decisions, looping logic, and performing calculations
- Learn best practices when writing Python code
- Learn how to build a terminal-based Python program
- Learn how to create a virtual environment to isolate your program and make it easy to install
Skills covered in this course
Reviews
-
DDon Nijssen
I appreciated this course a lot. I found it very well-structured, with a clear progression and explanations. Your approach made it easy to follow along.
-
JJan H. Kila van Zuijlen
Just what I expected from this teacher.
-
FFouche du Preez
Great course. I wanted a fun and interesting way to learn the basics of Python, and this course did exactly that. Trevor is a really good instructor. I'm doing some of his other Go courses, and was able to implement this course in both Python and Go. Nice one Trevor!
-
MMark Bonaccorso
Its more of an over the shoulder while he makes a project, no exercises challenges or anything, can learn a bit from it and it's useful to see how he uses python, I would be totally lost I think if I didn't have a grasp on the basics, much too fast for a beginner and doesn't really teach anything well.