freeprogrammingbooks.com

Non-Programmer’s Tutorial for Python 3

By Contributors from English and German Wikibooks and Wikipedia projects

Non-Programmer's Tutorial for Python 3 is an introductory guide designed to teach the fundamentals of the Python programming language to readers without prior programming experience.

Python is one of the most widely used programming languages in education, research, and industry. Its clear syntax and readable structure make it especially suitable for beginners who are entering programming for the first time.

As demand for computational literacy continues to grow across disciplines, accessible introductory resources remain essential.

About the book

Non-Programmer’s Tutorial for Python 3 is an introductory guide designed to teach the fundamentals of the Python programming language to readers without prior programming experience. The book is based on earlier tutorial versions and has been adapted specifically for Python 3.

It is intended for complete beginners—particularly individuals who do not identify as programmers but want to understand how programming works. The tutorial progresses gradually, introducing core programming concepts through simple examples and structured lessons.

All example Python source code in the tutorial is granted to the public domain, allowing learners to modify and reuse the code freely. The broader document includes licensing information related to Creative Commons Attribution-ShareAlike 3.0 Unported, as well as references to GPL, LGPL, and GFDL licenses.

What you will learn

Readers will gain a foundational understanding of Python programming, including:

  • Writing and running basic Python programs
  • Using variables and performing simple counting operations
  • Making decisions with conditional statements
  • Working with loops, including for-loops
  • Debugging programs
  • Defining and using functions
  • Managing lists and dictionaries
  • Understanding boolean expressions
  • Using modules
  • Handling strings
  • Performing file input/output operations
  • Managing imperfect or unexpected input

The structure emphasizes incremental learning, starting with introductory examples such as “Hello, World” and gradually introducing more advanced function usage and data structures.

Table of contents

  • 1 Front matter
  • 2 Intro
  • 3 Hello, World
  • 4 WhoGoes There?
  • 5 Count to 10
  • 6 Decisions
  • 7 Debugging
  • 8 Defining Functions
  • 9 Advanced Functions Example
  • 10 Lists
  • 11 For Loops
  • 12 Boolean Expressions
  • 13 Dictionaries
  • 14 Using Modules
    • 14.1 Other modules
  • 15 More on Lists
  • 16 Revenge of the Strings
  • 17 File IO
  • 18 Dealing with the imperfect
  • 19 The End
  • 20 FAQ
  • 21 Contributors
  • List of Figures
  • 22 Licenses
    • 22.1 GNU General Public License
    • 22.2 GNU Free Documentation License
    • 22.3 GNU Lesser General Public License

Book details

  • Title: Non-Programmer’s Tutorial for Python 3
  • Author(s): Contributors from English and German Wikibooks and Wikipedia projects
  • Main category: Programming
  • Subcategory: Python
  • Language: English
  • License: Creative Commons Attribution-ShareAlike 3.0 Unported (document); example Python source code released to the public domain; references to GPL, LGPL, and GFDL included in the Licenses chapter

More books in: Programming, Python


Legal notice: This book is shared for educational purposes only. The content is distributed under Creative Commons licenses or with explicit permission from the author. FreeProgrammingBooks may host files that comply with their respective licenses.

Want more free books?

Join our channels and receive free books, courses and tech news.