|
| 1 | +# Programming with Python |
| 2 | + |
| 3 | +## 1. Introduction |
| 4 | + |
| 5 | +*"Programming with Python"* is both a book and a course held at [Hefei University](http://www.hfuu.edu.cn/english/) ([合肥大学](http://www.hfuu.edu.cn/)). |
| 6 | +We here provide all the resources of this course. |
| 7 | + |
| 8 | +The goal of the course and book is to teach undergraduate and graduate students how to program with the Python programming language. |
| 9 | +The resources may also be suitable to high school students or whoever else may be interested in the topic. |
| 10 | +Our aim is to strike a good balance between theory and practice, leaning more to the practice side. |
| 11 | +In particular, we try to teach programming together with some software engineering concepts. |
| 12 | +It is the firm opinion of the author that these two cannot be separated. |
| 13 | +Teaching programming alone without introducing tools such as static code analysis, unit tests, and enforcing principles such as code style and proper commenting will create bad programmers. |
| 14 | +So we discuss these aspects while working our way through the principles of programming. |
| 15 | + |
| 16 | + |
| 17 | +## 2. Resources |
| 18 | +The website with up-to-date information about the course is <https://thomasweise.github.io/programmingWithPython>. |
| 19 | + |
| 20 | +### 2.1. The Book |
| 21 | +The book itself can be downloaded as pdf at <https://thomasweise.github.io/programmingWithPython/programmingWithPython.pdf>. |
| 22 | + |
| 23 | +### 2.2. Die Slides in Deutsch — The Slides in German Language |
| 24 | +Die Slides zum Kurs in deutscher Sprache können unter <https://thomasweise.github.io/programmingWithPythonSlidesDE> gefunden werden und sind hier aufgelistet: |
| 25 | + |
| 26 | +1. [Organisation](https://thomasweise.github.io/programmingWithPythonSlidesDE/01_organisation.pdf) |
| 27 | +2. [Einleitung](https://thomasweise.github.io/programmingWithPythonSlidesDE/02_einleitung.pdf) |
| 28 | +3. [Python Installieren](https://thomasweise.github.io/programmingWithPythonSlidesDE/03_python_installieren.pdf) |
| 29 | +4. [PyCharm Installieren](https://thomasweise.github.io/programmingWithPythonSlidesDE/04_pycharm_installieren.pdf) |
| 30 | +5. [Programme Erstellen und Ausführen](https://thomasweise.github.io/programmingWithPythonSlidesDE/05_programme_erstellen_und_ausführen.pdf) |
| 31 | +6. [Beispiele Herunterladen](https://thomasweise.github.io/programmingWithPythonSlidesDE/06_beispiele_herunterladen.pdf) |
| 32 | +7. [Der Datentyp `int`](https://thomasweise.github.io/programmingWithPythonSlidesDE/07_int.pdf) |
| 33 | +8. [Der Datentyp `float`](https://thomasweise.github.io/programmingWithPythonSlidesDE/08_float.pdf) |
| 34 | +9. [Zwischenspiel: Python Dokumentation und Informationsquellen](https://thomasweise.github.io/programmingWithPythonSlidesDE/09_dokumentation.pdf) |
| 35 | +10. [Der Datentyp `bool`](https://thomasweise.github.io/programmingWithPythonSlidesDE/10_bool.pdf) |
| 36 | +11. [Der Datentyp `str`](https://thomasweise.github.io/programmingWithPythonSlidesDE/11_str.pdf) |
| 37 | + |
| 38 | +### 2.3. The Slides in English |
| 39 | +The slides for the course are available at <https://thomasweise.github.io/programmingWithPythonSlides> and also listed below. |
| 40 | +Since the course is taught in German, these slides will remain incomplete. |
| 41 | + |
| 42 | +1. [Introduction](https://thomasweise.github.io/programmingWithPythonSlides/01_introduction.pdf) |
| 43 | +2. [Getting Started](https://thomasweise.github.io/programmingWithPythonSlides/02_getting_started.pdf) |
| 44 | + |
| 45 | +### 2.4. The Example Python Programs |
| 46 | +Our course offers a lot of examples. |
| 47 | +You can find all of them in the repository <https://github.com/thomasWeise/programmingWithPythonCode>. |
| 48 | + |
| 49 | + |
| 50 | +### 2.5. LaTeX Sources, Graphics, Bibliography, etc. |
| 51 | +Both the book and the slides are written in LaTeX. |
| 52 | +You can find their sources in <https://github.com/thomasWeise/programmingWithPython> and <https://github.com/thomasWeise/programmingWithPythonSlides>, respectively. |
| 53 | +You may use these files under the licensing terms provided below. |
| 54 | + |
| 55 | + |
| 56 | +## 3. License |
| 57 | +This repository contains two types of material: |
| 58 | +Materials that I (Thomas Weise) have created by myself and such that have been created by others. |
| 59 | + |
| 60 | +The vast majority of the material is teaching material created by me (Thomas Weise). |
| 61 | +This and only this material 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. |
| 62 | + |
| 63 | +However, the repository also includes some images and figures created by others, which are marked explicitly and licensed under their authors' terms. |
| 64 | +For example, all logos and trademarks are under the copyright of their respective owners. |
| 65 | +The list of files not under the CC BY‑NC‑SA 4.0 license but under their individual owners' copyrights includes, but is not limited to: |
| 66 | + |
| 67 | ++ the [Python](https://www.python.org) Logo, e.g., |
| 68 | + - text/main/introduction/pythonLogo.pdf |
| 69 | + - text/main/introduction/pythonLogo.svg |
| 70 | ++ all screenshots from websites |
| 71 | + |
| 72 | +You can download its newest version of the course material from <https://thomasweise.github.io/databases>. |
| 73 | +This version may change since this course and book both are work in progress. |
| 74 | +You can cite this book as follows: |
| 75 | + |
| 76 | +<pre>@book{programmingWithPython,<br/> author = {Thomas Weise},<br/> title = {Programming with Python},<br/> year = {2024--2025},<br/> publisher = {Institute of Applied Optimization,<br/> <a href="http://www.hfuu.edu.cn/aibd">School of Artificial Intelligence and Big Data</a>,<br/> <a href="http://www.hfuu.edu.cn/">Hefei University</a>},<br/> address = {Hefei, Anhui, China},<br/> url = {<a href="https://thomasweise.github.io/programmingWithPython">https://thomasweise.github.io/programmingWithPython</a>}<br/>}</pre> |
| 77 | + |
| 78 | +**If you have any comments or suggestions regarding the book, or if you spotted an error or typo, please feel free to submit an [issue here](https://github.com/thomasWeise/programmingWithPython/issues).** |
| 79 | +Your feedback would help us to improve the book. |
| 80 | + |
| 81 | +We statically include the [pdfsizeopt](https://github.com/pts/pdfsizeopt) tool in the build process of our book via the [bookbase repository](https://github.com/thomasWeise/bookbase) and use it during the book compiling and building process to compress the book pdf file. |
| 82 | +This tool is excluded from the license mentioned above. |
| 83 | +It is under the GNU GENERAL PUBLIC LICENSE Version 2, June 1991 and the copyright belongs to its authors. |
| 84 | + |
| 85 | + |
| 86 | +## 4. Contact |
| 87 | +If you have any questions or suggestions, please contact |
| 88 | +Prof. Dr. Thomas Weise (汤卫思教授) |
| 89 | +at the Institute of Applied Optimization (应用优化研究所, IAO) |
| 90 | +of the School of Artificial Intelligence and Big Data ([人工智能与大数据学院](http://www.hfuu.edu.cn/aibd)) |
| 91 | +of [Hefei University](http://www.hfuu.edu.cn/english/) ([合肥大学](http://www.hfuu.edu.cn/)), |
| 92 | +in Hefei, Anhui, China (中国安徽省合肥市) |
| 93 | +via email to [tweise@hfuu.edu.cn](mailto:tweise@hfuu.edu.cn) with CC to [tweise@ustc.edu.cn](mailto:tweise@ustc.edu.cn). |
0 commit comments