A Byte of Python

Chapter 3. First Steps

Table of Contents

Introduction
The interpreter prompt
Choosing an editor
Installing DrPython
Running DrPython
Using DrPython
Using a Source File
Output
How It Works
Executable Python programs
Getting Help
Introduction to the Hangman Gaming Room
The Hangman Gaming Room
Output
How It Works
Summary

Introduction

We will now write and run a traditional 'Hello World' program using Python. This will help you to understand how to write, save and run Python programs.

There are two ways of using Python to run your program - using the interactive interpreter prompt or using a source file. We will now see how to use both the methods.