Introduction to Python

Step by step to your first Python application


Join this course

GitHub Learning Lab is an integrated learning experience to help you learn how to use GitHub by using GitHub. Complete courses at your own pace on collaboration, workflow, and more.

Build a Python Quote Bot

This tutorial shows you how to build a simple quote bot in Python, even if you've never written any code before.

$ python get-quote.py

Keep it logically awesome

$ python get-quote.py

Speak like a human

Learn how to read from a text file of quotes, randomly choose one, and print it to your terminal.

Ready to start learning?