Skip to content

Commit 297e77d

Browse files
committed
Deploying to gh-pages from @ bbcf9aa 🚀
0 parents  commit 297e77d

File tree

7 files changed

+391
-0
lines changed

7 files changed

+391
-0
lines changed

.nojekyll

Whitespace-only changes.

LICENSE.html

Lines changed: 177 additions & 0 deletions
Large diffs are not rendered by default.

LICENSE.md

Lines changed: 175 additions & 0 deletions
Large diffs are not rendered by default.

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><title>Programming with Python</title><style>code{white-space:nowrap;background-color:#ccd25f4d;border-radius:3px}</style><body style=margin-left:5%;margin-right:5%><h1>Programming with Python</h1><h2>built on 2024-09-23 11:38:35</h2><h2>1. Introduction</h2><p><strong>Download our book from <a href=./programmingWithPython.pdf>https://thomasweise.github.io/programmingWithPython/programmingWithPython.pdf</a>.</strong><p><strong>If you have any comments or suggestions regarding the book, or if you spotted an error or typo, please feel free to submit an <a href=https://github.com/thomasWeise/programmingWithPython/issues>issue here</a>.</strong> Your feedback would help us to improve the book.<p>This book tries to teach undergraduate and graduate students as well as high school students how to program with the Python programming language. It aims 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.<p>This book is intended to be read on an electronic device. Please do not print it. Help preserving the environment.<p>This book is work in progress. It will take years to be completed and I plan to keep improving and extending it for quite some time.<p>This book is freely available. You can download its newest version from <a href=./>https://thomasweise.github.io/programmingWithPython/</a>. This version may change since this book is, well, work in progress. You can freely share this. You can also copy text or figures, as long as you cite the book as the original source, e.g., by using the following BibTeX:<pre>@book{programmingWithPython,<br> author = {<a href=http://iao.hfuu.edu.cn/5>Thomas Weise</a>},<br> title = {Programming with Python},<br> year = {2024},<br> publisher = {<a href=http://iao.hfuu.edu.cn>Institute of Applied Optimization</a>,<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><p>This book contains a lot of examples. You can find all of them in the repository <a href=https://github.com/thomasWeise/programmingWithPythonCode>https://github.com/thomasWeise/programmingWithPythonCode</a>. You can clone this repository and play with these example codes.<h2>2. License</h2><p>This book is released under the Attribution-NonCommercial-ShareAlike 4.0 International license (CC BY‑NC‑SA 4.0), see <a href=http://creativecommons.org/licenses/by-nc-sa/4.0/>http://creativecommons.org/licenses/by-nc-sa/4.0/</a> for a summary.<p>We statically include the <a href=https://github.com/pts/pdfsizeopt>pdfsizeopt</a> tool in the <a href=https://github.com/thomasWeise/programmingWithPython>GitHub Repository</a> 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.<h2>3. Contact</h2><p>If you have any questions or suggestions, please contact Prof. Dr. <a href=http://iao.hfuu.edu.cn/5>Thomas Weise</a> (汤卫思教授) at the Institute of Applied Optimization (应用优化研究所, <a href=http://iao.hfuu.edu.cn>IAO</a>) of the School of Artificial Intelligence and Big Data (<a href=http://www.hfuu.edu.cn/aibd>人工智能与大数据学院</a>) of <a href=http://www.hfuu.edu.cn/english/>Hefei University</a> (<a href=http://www.hfuu.edu.cn/>合肥大学</a>), in Hefei, Anhui, China (中国安徽省合肥市) via email to <a href=mailto:[email protected]>[email protected]</a> with CC to <a href=mailto:[email protected]>[email protected]</a>.

programmingWithPython.pdf

2.84 MB
Binary file not shown.

requirements.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2+
"http://www.w3.org/TR/html4/strict.dtd"><title></title><meta content="text/html; charset=utf-8"http-equiv=content-type><style>pre{line-height:125%}td.linenos .normal,span.linenos{color:inherit;background-color:#0000;padding-left:5px;padding-right:5px}td.linenos .special,span.linenos.special{color:#000;background-color:#ffffc0;padding-left:5px;padding-right:5px}body .hll{background-color:#ffc}body{background:#f8f8f8}body .c{color:#3d7b7b;font-style:italic}body .err{border:1px solid red}body .k{color:green;font-weight:700}body .o{color:#666}body .ch,body .cm{color:#3d7b7b;font-style:italic}body .cp{color:#9c6500}body .cpf,body .c1,body .cs{color:#3d7b7b;font-style:italic}body .gd{color:#a00000}body .ge{font-style:italic}body .ges{font-style:italic;font-weight:700}body .gr{color:#e40000}body .gh{color:navy;font-weight:700}body .gi{color:#008400}body .go{color:#717171}body .gp{color:navy;font-weight:700}body .gs{font-weight:700}body .gu{color:purple;font-weight:700}body .gt{color:#04d}body .kc,body .kd,body .kn{color:green;font-weight:700}body .kp{color:green}body .kr{color:green;font-weight:700}body .kt{color:#b00040}body .m{color:#666}body .s{color:#ba2121}body .na{color:#687822}body .nb{color:green}body .nc{color:#00f;font-weight:700}body .no{color:#800}body .nd{color:#a2f}body .ni{color:#717171;font-weight:700}body .ne{color:#cb3f38;font-weight:700}body .nf{color:#00f}body .nl{color:#767600}body .nn{color:#00f;font-weight:700}body .nt{color:green;font-weight:700}body .nv{color:#19177c}body .ow{color:#a2f;font-weight:700}body .w{color:#bbb}body .mb,body .mf,body .mh,body .mi,body .mo{color:#666}body .sa,body .sb,body .sc,body .dl{color:#ba2121}body .sd{color:#ba2121;font-style:italic}body .s2{color:#ba2121}body .se{color:#aa5d1f;font-weight:700}body .sh{color:#ba2121}body .si{color:#a45a77;font-weight:700}body .sx{color:green}body .sr{color:#a45a77}body .s1{color:#ba2121}body .ss{color:#19177c}body .bp{color:green}body .fm{color:#00f}body .vc,body .vg,body .vi,body .vm{color:#19177c}body .il{color:#666}</style><body><h2></h2><div class=highlight><pre><span></span>#
3+
# Dependencies Required to Build the Optimization Algorithms Book
4+
#
5+
6+
# Basically, we only need the `latexgit` Python companion package.
7+
# You can find it at https://thomasweise.github.io/latexgit_py,
8+
# https://github.com/thomasWeise/latexgit_py, or at
9+
# https://pypi.org/project/latexgit.
10+
latexgit == 0.8.18
11+
12+
# minify_html is needed to minify html output.
13+
minify_html == 0.15.0
14+
15+
# for converting the additional markdown files to HTML
16+
markdown == 3.7
17+
18+
# for converting files to HTML
19+
Pygments == 2.18.0
20+
</pre></div>

requirements.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Dependencies Required to Build the Optimization Algorithms Book
3+
#
4+
5+
# Basically, we only need the `latexgit` Python companion package.
6+
# You can find it at https://thomasweise.github.io/latexgit_py,
7+
# https://github.com/thomasWeise/latexgit_py, or at
8+
# https://pypi.org/project/latexgit.
9+
latexgit == 0.8.18
10+
11+
# minify_html is needed to minify html output.
12+
minify_html == 0.15.0
13+
14+
# for converting the additional markdown files to HTML
15+
markdown == 3.7
16+
17+
# for converting files to HTML
18+
Pygments == 2.18.0

0 commit comments

Comments
 (0)