Python: Introduction for Absolute Beginners

Python: Introduction

for Absolute Beginners

Bob Dowling

University Computing Service

Scientific computing support email address:

scientific-computing@ucs.cam.ac.uk

These course notes:

www-uxsup.csx.cam.ac.uk/courses/PythonAB/

1

Course outline ¡ª 1

Introduction

Who uses Python?

What is Python?

Launching Python

Using Python like

a calculator

Types of value

Numbers

Text

Truth and Falsehood

Python values

2

Course outline ¡ª 2

Using Python like

a programming

language

We will do

lots with lists.

Variables

if¡­then¡­else¡­

while¡­ loops

Comments

Lists

for¡­ loops

Functions

Tuples

Modules

3

Course outline ¡ª 3

Interacting with

the outside world

Built-in modules

The ¡°sys¡± module

Reading input

Files

Storing data

in programs

Dictionaries

4

What is Python used for?

Network services

Web applications

GUI applications

CLI applications

/usr/bin/command-not-found

Scientific libraries

Instrument control

Embedded systems

5

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download