Non-Programmers Tutorial For Python

Non-programmers tutorial for Python is a tutorial designed for an introduction to the programming language Python. This guide is for someone without ….

More PDF Content

Non-Programmers Tutorial For Python
1 Intro

  • 1.1 First things first …1
  • 1.2 Installing Python …1
  • 1.3 Interactive Mode …1
  • 1.4 Creatingand Running Programs …2
  • 1.5 Using Python from the command line …2

2 Hello, World

  • 2.1 What you should know …3
  • 2.2 Printing …3
  • 2.3 Expressions …4
  • 2.4 Talking to humans(and other intelligent beings) …5
  • 2.5 Examples …6
  • 2.6 Exercises …7

3 Who Goes There?

  • 3.1 Input and Variables …9
  • 3.2 Examples … 11
  • 3.3 Exercises … 12

4 Count to 10

  • 4.1 While loops … 13
  • 4.2 Examples … 14

5 Decisions

  • 5.1 If statement … 17
  • 5.2 Examples … 18
  • 5.3 Exercises … 21

6 Debugging

  • 6.1 What is debugging? … 23
  • 6.2 What should the program do? … 23
  • 6.3 What does the program do? … 24
  • 6.4 How do I fix the program? … 27

7 Defining Functions

  • 7.1 Creating Functions … 29
  • 7.2 Variables in functions … 30
  • 7.3 Function walk through … 32
  • 7.4 Examples … 34
  • 7.5 Exercises … 36

8 Lists

  • 8.1 Variables with more than one value … 37
  • 8.2 More features of lists … 37
  • 8.3 Examples … 42
  • 8.4 Exercises … 43

9 For Loops
10 Boolean Expressions

  • 10.1 Examples … 51
  • 10.2 Exercises … 51

11 Dictionaries
12 Using Modules

  • 12.1 Exercises … 60

13 More on Lists
14 Revenge of the Strings

  • 14.1 Examples … 71

15 File IO

  • 15.1 Exercises … 77

16 Dealing with the imperfect (or how to handle errors)

  • 16.1 Exercises … 80

17 The End
18 FAQ

Download Non-Programmers Tutorial For Python pdf from upload.wikimedia.org, 90 pages, 201.87KB.