Python Workshop (ACM@UIUC)

10/11/1999


Click here to start


Table of Contents

Python Workshop (ACM@UIUC)

Outline

BRIEFLY, WHAT IS PYTHON?

What’s in a name?

What is Python?

Touchy-feely properties

High-level properties

Interfaces to...

Language properties

High-level data types

WHY USE PYTHON?

Productivity!

What is it used for?

Who is using it?

Exciting Applications

Typical Success Stories

How Far We Have Come

How Far We Have Come

How Far We Have Come

How Far We Have Come

PYTHON COMPARED TO OTHER LANGUAGES

Python vs. Perl

Python vs. Tcl

Python vs. Java

JPython

Java Integration

BASIC PYTHON TUTORIAL

Tutorial Outline

Interactive “Shell”

Numbers

Strings

Lists

More list operations

Dictionaries

More dictionary ops

Dictionary details

Tuples

Variables

Reference semantics

Changing a shared list

Changing an integer

Control structures

Grouping indentation

Functions, procedures

Example function

Classes

Example class

Using classes

Subclassing

Subclassing (2)

Class & instance variables

Instance variable rules

Modules

Packages

Catching Exceptions

Try-Finally: Cleanup

Raising Exceptions

Author: Guido van Rossum

Email: guido@python.org

Home Page: http://www.python.org/~guido/

Download presentation source