The Python Coding Book Table of Contents
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 |
*args
and**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
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
datetime
module |datetime.datetime
anddatetime.timedelta
|strptime()
andstrftime()
| time zones and thezoneinfo
module
10 | Basics of Data Visualisation in Python Using Matplotlib
- 2D plots | subplots | images | 3D plots | animations
11 | Analysing Data Using Pandas
Coming soon…
Additional Material and Notes
Coming soon…
Coming Soon…
The Python Coding Place
Sign-Up For Updates
The main text of the book is complete—I’m planning some additions and exercises and I’ll make this book available in other formats soon. Blog posts are also published regularly.
Sign-up for updates and you’ll also join the Codetoday Forum where you can ask me questions as you go through this journey to learn Python coding.
© Codetoday Limited. Codetoday Limited is a company registered in England (company number 9789836). Registered office: 13 Hawley Crescent, London, NW1 8NP, United Kingdom