Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 4.97 KB

README.md

File metadata and controls

66 lines (47 loc) · 4.97 KB

Programming with Python

1. Introduction

"Programming with Python" is both a book and a course held at Hefei University (合肥大学). We here provide all the resources of this course.

The goal of the course and book is to teach undergraduate and graduate students how to program with the Python programming language. The resources may also be suitable to high school students or whoever else may be interested in the topic. Our aim is to strike a good balance between theory and practice, leaning more to the practice side. In particular, we try to teach programming together with some software engineering concepts. It is the firm opinion of the author that these two cannot be separated. 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. So we discuss these aspects while working our way through the principles of programming.

2. Resources

The website with up-to-date information about the course is https://thomasweise.github.io/programmingWithPython.

2.1. The Book

The book itself can be downloaded as pdf at https://thomasweise.github.io/programmingWithPython/programmingWithPython.pdf.

2.2. The Slides

The slides for the course are available at https://thomasweise.github.io/programmingWithPythonSlides and also listed below.

  1. Introduction
  2. Getting Started

2.3. The Example Python Programs

Our course offers a lot of examples. You can find all of them in the repository https://github.com/thomasWeise/programmingWithPythonCode.

2.4. LaTeX Sources, Graphics, Bibliography, etc.

Both the book and the slides are written in LaTeX. You can find their sources in https://github.com/thomasWeise/programmingWithPython and https://github.com/thomasWeise/programmingWithPythonSlides, respectively. You may use these files under the licensing terms provided below.

3. License

All the course material is freely available. You can download its newest version from https://thomasweise.github.io/programmingWithPython. This version may change since this course and book both are work in progress. You can freely share this. You can also copy text or figures under the license given below, as long as you cite the book as the original source, e.g., by using the following BibTeX:

@book{programmingWithPython,
 author = {Thomas Weise},
 title = {Programming with Python},
 year = {2024--2025},
 publisher = {Institute of Applied Optimization,
              School of Artificial Intelligence and Big Data,
              Hefei University},
 address = {Hefei, Anhui, China},
 url = {https://thomasweise.github.io/programmingWithPython}
}

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. Your feedback would help us to improve the book.

This book 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/ for a summary.

We statically include the pdfsizeopt tool in the GitHub Repository of our book and use it during the book compiling and building process to compress the book pdf file. This tool is excluded from the license mentioned above. It is under the GNU GENERAL PUBLIC LICENSE Version 2, June 1991 and the copyright belongs to its authors.

4. Contact

If you have any questions or suggestions, please contact Prof. Dr. Thomas Weise (汤卫思教授) at the Institute of Applied Optimization (应用优化研究所, IAO) of the School of Artificial Intelligence and Big Data (人工智能与大数据学院) of Hefei University (合肥大学), in Hefei, Anhui, China (中国安徽省合肥市) via email to [email protected] with CC to [email protected].