Skip to content

Commit e030664

Browse files
committed
included logo, some small fixes
1 parent 59ee8a1 commit e030664

File tree

8 files changed

+21
-9
lines changed

8 files changed

+21
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This version may change since this course and book both are work in progress.
5050
You can freely share this.
5151
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:
5252

53-
<pre>@book{programmingWithPython,<br/>&nbsp;author&nbsp;=&nbsp;{<a href="http://iao.hfuu.edu.cn/5">Thomas&nbsp;Weise</a>},<br/>&nbsp;title&nbsp;=&nbsp;{Programming&nbsp;with&nbsp;Python},<br/>&nbsp;year&nbsp;=&nbsp;{2024--2025},<br/>&nbsp;publisher&nbsp;=&nbsp;{<a href="http://iao.hfuu.edu.cn">Institute&nbsp;of&nbsp;Applied&nbsp;Optimization</a>,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.hfuu.edu.cn/aibd">School&nbsp;of&nbsp;Artificial&nbsp;Intelligence&nbsp;and&nbsp;Big&nbsp;Data</a>,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.hfuu.edu.cn/">Hefei&nbsp;University</a>},<br/>&nbsp;address&nbsp;=&nbsp;{Hefei,&nbsp;Anhui,&nbsp;China},<br/>&nbsp;url&nbsp;=&nbsp;{<a href="https://thomasweise.github.io/programmingWithPython">https://thomasweise.github.io/programmingWithPython</a>}<br/>}</pre>
53+
<pre>@book{programmingWithPython,<br/>&nbsp;author&nbsp;=&nbsp;{Thomas&nbsp;Weise},<br/>&nbsp;title&nbsp;=&nbsp;{Programming&nbsp;with&nbsp;Python},<br/>&nbsp;year&nbsp;=&nbsp;{2024--2025},<br/>&nbsp;publisher&nbsp;=&nbsp;{Institute&nbsp;of&nbsp;Applied&nbsp;Optimization,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.hfuu.edu.cn/aibd">School&nbsp;of&nbsp;Artificial&nbsp;Intelligence&nbsp;and&nbsp;Big&nbsp;Data</a>,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.hfuu.edu.cn/">Hefei&nbsp;University</a>},<br/>&nbsp;address&nbsp;=&nbsp;{Hefei,&nbsp;Anhui,&nbsp;China},<br/>&nbsp;url&nbsp;=&nbsp;{<a href="https://thomasweise.github.io/programmingWithPython">https://thomasweise.github.io/programmingWithPython</a>}<br/>}</pre>
5454

5555
**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).**
5656
Your feedback would help us to improve the book.
@@ -64,8 +64,8 @@ It is under the GNU GENERAL PUBLIC LICENSE Version 2, June 1991 and the copyrigh
6464

6565
## 4. Contact
6666
If you have any questions or suggestions, please contact
67-
Prof. Dr. [Thomas Weise](http://iao.hfuu.edu.cn/5) (汤卫思教授)
68-
at the Institute of Applied Optimization (应用优化研究所, [IAO](http://iao.hfuu.edu.cn))
67+
Prof. Dr. Thomas Weise (汤卫思教授)
68+
at the Institute of Applied Optimization (应用优化研究所, IAO)
6969
of the School of Artificial Intelligence and Big Data ([人工智能与大数据学院](http://www.hfuu.edu.cn/aibd))
7070
of [Hefei University](http://www.hfuu.edu.cn/english/) ([合肥大学](http://www.hfuu.edu.cn/)),
7171
in Hefei, Anhui, China (中国安徽省合肥市)

text/main/controlFlow/functions/functions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
Let us investigate these options by investigating another interesting mathematical operation:
146146
The computation of the greatest common divisor, also known as~\pythonil{gcd}.
147147

148-
This can be done using the Euclidean algorithm~\cite{EHF2008EEOGTGOJLH11FEEEELIEILHIATBG11EAPWMETBFR:ENT,B1999FAOTBEA,TKY2016BEOEAOTCEG}, going back to \citeauthor{EHF2008EEOGTGOJLH11FEEEELIEILHIATBG11EAPWMETBFR:ENT} who flourished about 300~BCE.
148+
This can be done using the Euclidean algorithm~\cite{EHF2008EEOGTGOJLH11FEEEELIEILHIATBG11EAPWMETBFR:ENT,B1999FAOTBEA,TKY2016BEOEAOTCEG}, going back to \citeauthor{EHF2008EEOGTGOJLH11FEEEELIEILHIATBG11EAPWMETBFR:ENT} who flourished about 300~\pgls{BCE}.
149149
The greatest common divisor of two numbers positive~$a\in\naturalNumbersO$ and~$b\in\naturalNumbersO$ is the greatest number~$g\in\naturalNumbersO=\pythonil{gcd}(a,b)$ such that~$a\bmod g=0$ and~$b \bmod g=0$, where~$\bmod$ is the \pgls{modulodiv} operator equivalent to \python's~\pythonilIdx{\%}.
150150
This means that $g$~divides both $a$ and $b$ without remainder.
151151
If $a=b$, then obviously $\pythonil{gcd}(a,b)=a=b$ as well.

text/main/introduction/introduction.tex

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
\hsection{}%
22
\hsection{Introduction}%
33
%
4+
\begin{figure}%
5+
\centering%
6+
\includegraphics[width=0.7\linewidth]{\currentDir/pythonLogo}%
7+
\caption{The logo of the programming language \python.}%
8+
\label{fig:pythonLogo}%
9+
\end{figure}%
10+
%
411
Welcome to \emph{Programming with \python}, an introduction into \python\ programming.
5-
Our book is just one of many books that teach this programming language~\cite{K2018EIPFEUU,A2002PC,H2023ABGTP3P,LH2015DSAAWP}.
6-
Our focus is on teaching good programming practices right from the start, support by many examples and tools.%
12+
Our book is just one of many books that teach this programming language.
13+
You can find many more in \cref{sec:furtherReading}.
14+
Our focus is on teaching good programming practices right from the start, support by many examples and tools.
15+
And we will use \emph{lots} of examples.
716
%
817
\hinput{programming}{programming}%
918
\hinput{whyPython}{whyPython}%

text/main/introduction/literature/literature.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
\hsection{Further Reading}%
2+
\label{sec:furtherReading}%
23
\begin{noglslink}%
34
%
45
The following books and online resources may help with your understanding of the \python\ programming language.%

text/main/introduction/pythonLogo.pdf

4.43 KB
Binary file not shown.

text/main/introduction/pythonLogo.svg

Lines changed: 2 additions & 0 deletions
Loading

text/main/introduction/whyPython/whyPython.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
\cquotation{J2025TIFJ2JHPITPLOTY2}{\python\ is everywhere nowadays, and it is the undisputed default language of choice in many fields.}%
2020
%
2121
If you will do programming in any future employment or research position, chances are that \python\ knowledge will be useful.
22-
According to the 2024 annual Stack Overflow survey~\cite{SESO:DWMMMT2RFSOADS}, \python\ was the second most popular programming language, after \pgls{javascript} and \glslink{HTML}{HTML}/CSS.
22+
According to the 2024 annual Stack Overflow survey~\cite{SE:SO:2024DS}, \python\ was the second most popular programming language, after \pgls{javascript} and \glslink{HTML}{HTML}/CSS.
2323
In \github's Octoverse Report from October~2024~\cite{GS2024OALPTTLATNOGDS}, \python\ is named the most popular programming language, ranking right before \pgls{javascript}.
2424

2525
Second, \python\ is intensely used~\cite{CBST2024LOHPPTDDSAMLA} in the fields of \pgls{AI}~\cite{RN2022AIAMA}, \pgls{ML}~\cite{SSBD2014UMLFTTA}, and \pgls{DS}~\cite{G2019DSFSFPWP,M2022PFDA} as well as optimization, which are among the most important areas of future technology.
@@ -33,7 +33,7 @@
3333
It has a simple and clean syntax and enforces a readable structure of programs.
3434
Programmers do not need to declare datatypes explicitly\footnote{at least during the first steps of learning}.
3535
\python\ has expressive built-in types likes lists, tuples, and dictionaries.
36-
Thus, \python\ was also named the language most popular for those who want to learn how to code in the aforementioned Stack Overflow survey~\cite{SESO:DWMMMT2RFSOADS}.
36+
Thus, \python\ was also named the language most popular for those who want to learn how to code in the aforementioned Stack Overflow survey~\cite{SE:SO:2024DS}.
3737
%
3838
\begin{figure}%
3939
\centering%

0 commit comments

Comments
 (0)