Handbook of the Physics Computing Course

The manual contains all the information you need to complete … Many examples in this guide to use interactive Python interpreter. Python Imaging Library adds ….

More PDF Content

Handbook of the Physics Computing Course
1. Introduction 1

  • 1.1 The Python trial … 1
  • 1.2 Typographical conventions … 2

2. Using the system 3

  • 2.1 Logging in … 3
  • 2.2 IDLE basics … 3
  • 2.3 Programming using IDLE … 4
  • 2.4 Case sensitivity … 5

3. The elements of Python 7

  • 3.1 Hello world … 7
  • 3.2 Interpreters, modules, and a more interesting program … 7
  • 3.3 Variables … 8
  • 3.4 Input and output … 10
  • 3.5 Arithmetic … 11
  • 3.6 for loops … 12
  • 3.7 if statements … 14
  • 3.8 while loops … 16
  • 3.9 Using library functions … 17
  • 3.10 Arrays … 19
  • 3.11 Making your own functions … 21
  • 3.12 File input and output … 22
  • 3.13 Putting it all together … 24

4. Graphical output and additional Python 27

  • 4.1 Graphical output … 27
  • 4.2 Arrays in Python … 28
  • 4.3 Functions you may need for the first-year problems … 31
  • 4.4 Scope … 32
  • 4.5 Python differences … 33
  • 4.6 Taking your interest further … 34

A Errors 35
A.1 Attribute Errors, Key Errors, Index Errors … 35
A.2 Name Errors … 35
A.3 Syntax Errors … 36
A.4 Type Errors … 36
B ReservedWords 37

Download Handbook of the Physics Computing Course pdf from pentangle.net, 43 pages, 184.54KB.
Related Books

Leave a Reply