What is this?
'The Craft of Self-Teaching' (自学是门手艺) is a free Chinese-language ebook by Li Xiaolai that uses learning to code as the entry point for building the broader skill of self-teaching.
Is this a single book or separate short lessons?
It is one continuous book, split into individual Jupyter notebook files for each chapter, organized into three parts plus appendices covering self-teaching philosophy, Python basics, and setup guides.
How do I read this book?
You can browse the notebook files directly on GitHub, or install Jupyterlab locally following the setup appendix for a richer, interactive reading experience.
Do I need Jupyterlab installed to read it?
No, it's optional — you can read the notebooks directly on GitHub, but Jupyterlab gives a better reading experience with runnable Python examples.
Is this book available in English?
No, the entire book is written in Chinese with no official English translation; non-Chinese readers would need to translate it themselves.
Who is this book for?
It's aimed at Chinese-speaking beginners with no programming background who want to learn Python while also learning how to teach themselves any skill.
What are the license terms?
The book is released under CC-BY-NC-ND, meaning non-commercial use only and no derivative works are allowed.
Why does the author use coding as the entry point for learning self-teaching?
Programming requires almost no resources to start and gives fast, verifiable feedback, making it an ideal practice ground for developing self-directed learning habits.
What topics does the book cover beyond basic Python syntax?
Beyond values, control flow, functions, strings, and files, it moves into deliberate practice, writing functions, OOP with classes, decorators/iterators/generators, regular expressions, and even BNF/EBNF grammar notation.
Is there a non-notebook version of the book?
Yes, a Markdown version was added on March 23, 2019, as an alternative to the Jupyter notebook format.
What are similar projects?
the-way-to-go_ZH_CN, CppTemplateTutorial, Python-Core-50-Courses, Complete-Python-3-Bootcamp, Book4_Power-of-Matrix, practical-python, mml-book.github.io, GolangTraining
Which topics is it in?
textbook, coding, jupyter-notebook, study-guide, python3, chinese-language, ebook, academic, curriculum, programming, jupyter notebook, book
