Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Non-Programmer's Tutorial for Python 2.

6
For Python 3, see Non-Programmer's Tutorial for Python 3.

Contents
Authors
Contributors to this book
Front matter
Initial remarks
Intro
Installing and using Python – where to get help
Hello, World
The famous first program – screen output – numbers and calculations
Who Goes There?
Interactive input – strings
Count to 10
while loops
Decisions
if statements
Debugging
Finding out what goes wrong
Defining Functions
Structuring programs with the use of functions
Advanced Functions Example
(Almost) mind-blowing example of how programmers can think
Lists
Variables containing more than one value
For Loops
A second kind of loop
Boolean Expressions
Computer logic – true and false – and and or – not
Dictionaries
Variables containing key/value pairs
Using Modules
Extensions to the standard set of functionality
More on Lists
Using elements or parts of lists
Revenge of the Strings
Advanced text manipulation
File IO
Reading from files and writing to files
Dealing with the imperfect
How to handle errors
The End
How to go further
FAQ
Some frequently asked questions

Retrieved from "https://en.wikibooks.org/w/index.php?title=Non-


Programmer%27s_Tutorial_for_Python_2.6&oldid=3066653"
This page was last edited on 28 March 2016, at 10:20.

Text is available under theCreative Commons Attribution-ShareAlike License.


; additional terms may apply. By using this
site, you agree to the Terms of Use and Privacy Policy.

You might also like