This is a tutorial for novice programmers. You are the learner I had in mind when writing this tutorial if:
- you have worked a little with a different programming language like R, MATLAB or C.
- you have no programming experience at all
- you know Python well and would like to teach others
This tutorial works best if you follow the chapters and exercises step by step.
The main goal of this tutorial is to enable you to write Python projects with up to 100 lines. Here you find a detailed syllabus:
- Installing Python
- My first program
- How to write programs
- Reading from the keyboard
- Screen output
- Storing text
- Recap
- Reading a simple text file
- Extracting data from text
- String methods
- Writing files
- Processing multiple files
- Recap Questions
- Tuples
- Writing your own functions
- Modules
- Introspection
- Background information on Python 3
- Recommended books and websites
© 2015 Dr. Kristian Rother (krother@academis.eu)
with contributions by Allegra Via, Kaja Milanowska and Anna Philips
Distributed under the conditions of the Creative Commons Attribution Share-alike License 4.0
Sources of this document can be found on https://github.com/krother/Python3_Basics_Tutorial
I would like to thank the following people for inspiring exchange on training an d Python that this tutorial has benefited from: Pedro Fernandes, Tomasz Puton, E dward Jenkins, Bernard Szlachta, Robert Lehmann and Magdalena Rother