The Python Coding Book “Zeroth Edition” Table of Contents (See First Edition’s table of contents for the published version)
Part 1
0 How To Learn To Code: Preface
- plus: installing Python
1 Getting Started: Your First Project
- variables | using functions | data type basics | if statements | importing modules | while loops | commenting
2 Loops, Lists and More Fundamentals
- anatomy of a program | for loops | more on while loops | lists | indexing and slicing
3 Power-up Your Coding: Create Your Own Functions
- defining functions | scope | parameters and arguments | return statements
4 Data, Data Types, and Data Structures
- data structures | iterable, mutable and immutable data types | methods associated with data types | string and list methods | tuples | dictionaries | reading data from files | writing data to spreadsheets
5 Dealing With Errors and Bugs
- understanding errors and bugs | error messages | debugging | visual debuggers
Part 2
6 | Functions Revisited
- optional arguments | parameters with default values |
*argsand**kwargs| docstrings | PEP 8 style guide
7 | Object-Oriented Programming
- philosophy of OOP | classes | attributes, data attributes/instance variables and methods |
__init__andself| other dunder methods | type hinting
Note: Chapters 8-10 are not part of the First Edition. They’ll be published as separate texts
8 | Numerical Python for Quantitative Applications Using NumPy
- introducing NumPy and why it’s needed | ndarray | indexing, slicing, and filtering arrays | reading data from CSV files to NumPy | representing equations with NumPy
9 | Dealing With Dates and Times in Python
datetimemodule |datetime.datetimeanddatetime.timedelta|strptime()andstrftime()| time zones and thezoneinfomodule
10 | Basics of Data Visualisation in Python Using Matplotlib
- 2D plots | subplots | images | 3D plots | animations
© Codetoday Limited. Codetoday Limited is a company registered in England (company number 9789836). Registered office: 13 Hawley Crescent, London, NW1 8NP, United Kingdom