# Example Programs for the Book "Programming with Python" Here we provide all the example programs and codes for our book "[Programming with Python](https://thomasweise.github.io/programmingWithPython/programmingWithPython.pdf)." ## 1. Structure 1. A [Very First Project](../../tree/main/veryFirstProject) 2. [Variables](../..tree/main/variables) 3. [Collections](../..tree/main/collections) 4. [Conditionals](../..tree/main/conditionals) 5. [Loops](../..tree/main/loops) 6. [Functions](../..tree/main/functions) 7. [Exceptions](../..tree/main/exceptions) 8. [Iteration](../..tree/main/iteration) 9. [Classes](../..tree/main/classes) 10. [Packages](../..tree/main/packages) 11. [Scripts](../..tree/main/_scripts_) ## 2. License Copyright (C) 2024-2026 Thomas Weise (汤卫思教授) The book "[Programming with Python](https://thomasweise.github.io/programmingWithPython/programmingWithPython.pdf) is released under the Attribution-NonCommercial-ShareAlike 4.0 International license (CC BY‑NC‑SA 4.0), see [http://creativecommons.org/licenses/by-nc-sa/4.0/](http://creativecommons.org/licenses/by-nc-sa/4.0/) for a summary. The code in this repository is provided as open source software under the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007. ## 3. Contact If you have any questions or suggestions, please contact Prof. Dr. Thomas Weise (汤卫思教授) of the School of Artificial Intelligence and Big Data ([人工智能与大数据学院](http://www.hfuu.edu.cn/aibd)) of [Hefei University](http://www.hfuu.edu.cn/english/) ([合肥大学](http://www.hfuu.edu.cn/)), in Hefei, Anhui, China (中国安徽省合肥市) via email to [tweise@hfuu.edu.cn](mailto:tweise@hfuu.edu.cn) with CC to [tweise@ustc.edu.cn](mailto:tweise@ustc.edu.cn).