CS110:Lab01

From IPRE Wiki
Revision as of 20:39, 1 September 2009 by Ttthomas (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Lab 1: Writing Programs, Defining Functions and Creating Modules in Python

Objectives • Write and run programs in Python’s IDLE • Write simple functions • Create Python Scripts/Modules

Main Concepts and Terminology

• IDLE, Program, variables, modules


Lab Exercises

Starting IDLE

IDLE which stands for “Interactive DeveLopment Environment” is an environment in which you can write and execute python programs. To start IDLE: Double click the “Start Python.pwd” icon on your desktop OR Go to the start menu, find Python, and run the program called IDLE. When you first start IDLE, you may see something like this: