The Coder's Apprentice

Learning Programming with Python 3

by Pieter Spronck

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

The Coder's Apprentice is a course book, written by Pieter Spronck, that is aimed at teaching Python 3 to students and teenagers who are completely new to programming. Contrary to many of the other books that teach Python programming, this book assumes no previous knowledge of programming on the part of the students, and contains numerous exercises that allow students to train their programming skills.

The goal of this book is to teach anyone how to create useful programs in Python. It should be usable by secondary school students, and university and college students for whom computer programming is not naturally incorporated in their course program. Its aim is to give anyone the means to become proficient in programming, and as such get prepared to perform well in the 21st century job market.

This open book is licensed under a Creative Commons License (CC BY). You can download The Coder's Apprentice ebook for free in PDF format (4.2 MB).

Table of Contents

Chapter 1
Introduction
Chapter 2
Using Python
Chapter 3
Expressions
Chapter 4
Variables
Chapter 5
Simple Functions
Chapter 6
Conditions
Chapter 7
Iterations
Chapter 8
Functions
Chapter 9
Recursion
Chapter 10
Strings
Chapter 11
Tuples
Chapter 12
Lists
Chapter 13
Dictionaries
Chapter 14
Sets
Chapter 15
Operating System
Chapter 16
Text Files
Chapter 17
Exceptions
Chapter 18
Binary Files
Chapter 19
Bitwise Operators
Chapter 20
Object Orientation
Chapter 21
Operator Overloading
Chapter 22
Inheritance
Chapter 23
Iterators and Generators
Chapter 24
Command Line Processing
Chapter 25
Regular Expressions
Chapter 26
File Formats
Chapter 27
Various Useful Modules
Appendix A
Troubleshooting
Appendix B
Differences with Python 2
Appendix C
pcinput.py
Appendix D
pcmaze.py
Appendix E
Test Text Files
Appendix F
Answers to Exercises
 

Book Details

Publisher
Self-publishing
Published
2017
Pages
398
Edition
1
Language
English
PDF Size
4.2 MB
License
CC BY

Book Hashtags

Related Books

Social Theory of Fear
In the current crisis of the capitalist world system, elites promote fear of crime and terrorism to keep and expand their privileges and control the masses. This book offers an analysis of the crisis and strategies for rebellion....
Humanities World Report 2015
The first of its kind, this Open Access 'Report' is a first step in assessing the state of the humanities worldwide. Based on an extensive literature review and enlightening interviews the book discusses the value of the humanities, the nature of humanities research and the relation between humanities and politics, amongst other issues....
Knowledge and Action
This volume explores interdependencies between knowledge, action, and space from different interdisciplinary perspectives. Some of the contributors discuss knowledge as a social construct based on collective action, while others look at knowledge as an individual capacity for action. The chapters contain theoretical frameworks as well as experiment...
Theories in and of Mathematics Education
This survey provides an overview of German meta-discourse on theories and mathematics education as a scientific discipline, from the 1970s to the 1990s. Two theory strands are offered: a semiotic view related to Peirce and Wittgenstein (presented by Willibald Dörfler), and the theory of learning activity by Joachim Lompscher (presented by Regina B...
Model-Based Demography
Late in a career of more than sixty years, Thomas Burch, an internationally known social demographer, undertook a wide-ranging methodological critique of demography. This open access volume contains a selection of resulting papers, some previously unpublished, some published but not readily accessible [from past meetings of The International Union...
Foundations of Quantum Theory
This book studies the foundations of quantum theory through its relationship to classical physics. This idea goes back to the Copenhagen Interpretation (in the original version due to Bohr and Heisenberg), which the author relates to the mathematical formalism of operator algebras originally created by von Neumann. The book therefore includes compr...