A Byte of Python

Chapter 3. First Steps

Table of Contents

Introduction
Using the interpreter prompt
Choosing an Editor
Using a Source File
Output
How It Works
Executable Python programs
Getting Help
Summary

Introduction

We will now see how to run a traditional 'Hello World' program in Python. This will teach you 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.