Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

The Coder's Apprentice

Learning Programming with Python 3

by Pieter Spronck

The Coder's Apprentice

Subscribe to new books via dBooks.org telegram channel

Join
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

Title
The Coder's Apprentice
Subject
Computer Science
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....
A Poetics of Plot for the Twenty-First Century
Story, in the largest sense of the term, is arguably the single most important aspect of narrative. But with the proliferation of antimimetic writing, traditional narrative theory has been inadequate for conceptualizing and theorizing a vast body of innovative narratives. In A Poetics of Plot for the Twenty-First Century: Theorizing Unruly Narrativ...
A Complete Guide to Maggot Therapy
Since the revival of maggot therapy in Western wound care approximately thirty years ago, there has been no comprehensive synthesis of what is known about its clinical practice, supply chain management, and social dimensions. This edited volume fills the information vacuum and, importantly, makes the current state of knowledge freely accessible. It...
Humanities World Report 2015
The first of its kind, this Open 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...