summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scipy/basic/02_prelims.tex6
-rw-r--r--scipy/basic/02a_anaconda.tex59
-rw-r--r--scipy/basic/03_ipython_plotting.tex5
-rw-r--r--scipy/basic/Makefile3
4 files changed, 67 insertions, 6 deletions
diff --git a/scipy/basic/02_prelims.tex b/scipy/basic/02_prelims.tex
index 59fbffa..eeda59d 100644
--- a/scipy/basic/02_prelims.tex
+++ b/scipy/basic/02_prelims.tex
@@ -144,10 +144,11 @@ Python}
\begin{frame}[fragile]
\frametitle{The interpreter}
- \small
+ \footnotesize
\begin{lstlisting}
$ python
-Python 2.7.9 (default, Feb 10 2015, 03:29:10)
+Python 3.8.6 | packaged by conda-forge | (default, ...)
+[Clang 11.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
\end{lstlisting} %$
@@ -182,6 +183,7 @@ $
\item \typ{matplotlib}
\item \typ{PyQt}
\item \typ{django}
+ \item \typ{PyTorch}, \typ{TensorFlow}
\item \typ{mayavi}
\item About 1 lakh packages!
\end{itemize}
diff --git a/scipy/basic/02a_anaconda.tex b/scipy/basic/02a_anaconda.tex
index 13f4d6f..a3ba5c1 100644
--- a/scipy/basic/02a_anaconda.tex
+++ b/scipy/basic/02a_anaconda.tex
@@ -162,11 +162,66 @@ Python}
\end{frame}
\begin{frame}[plain]
- \frametitle{Launch Spyder IDE}
+ \frametitle{Launch/configure Spyder IDE}
\begin{itemize}
- \item Start Spyder IDE from the Anaconda GUI
+ \item Start Spyder IDE from the Anaconda GUI
+ \item Configure it for the course
+ \item Preferences / IPython console / Graphics
+ \begin{itemize}
+ \item Auto-load pylab/numpy
+ \item Graphics backend: qt5
+ \item Hit Apply/OK
+ \item Restart the editor
+ \end{itemize}
\end{itemize}
\end{frame}
+\begin{frame}[plain]
+ \frametitle{Some basics}
+ \begin{itemize}
+ \item Hardware
+ \item Operating system (or OS)
+ \item Programs
+ \item Processes
+ \item Memory
+ \item Communication (I/O, network, etc.)
+ \end{itemize}
+\end{frame}
+
+\begin{frame}[plain]
+ \frametitle{Some terminology}
+ \begin{itemize}
+ \item Terminal/console/command line: a program
+ \vspace*{0.2in}
+ \item Command Line Interface: CLI
+ \item Graphical User Interface: GUI
+ \vspace*{0.2in}
+ \item Shell: exposes a CLI to the OS
+ \item REPL: Read-Eval-Print Loop
+ \vspace*{0.2in}
+ \item Text-editor: Spyder, VSCode, Emacs, Vim
+ \item IDE: Integrated Development Environment
+ \item Some text editors are also IDEs
+ \end{itemize}
+\end{frame}
+
+
+\begin{frame}[plain]
+ \frametitle{Using the terminal}
+ \begin{itemize}
+ \item Learning about the terminal
+ \item Launch the anaconda terminal
+ \item Execute Python programs there
+ \end{itemize}
+\end{frame}
+
+\begin{frame}[plain]
+ \frametitle{Summary}
+ \begin{itemize}
+ \item Using anaconda and Spyder
+ \item Launching a terminal
+ \item Some basics and terminology
+ \end{itemize}
+\end{frame}
\end{document}
diff --git a/scipy/basic/03_ipython_plotting.tex b/scipy/basic/03_ipython_plotting.tex
index 326ad79..f05b000 100644
--- a/scipy/basic/03_ipython_plotting.tex
+++ b/scipy/basic/03_ipython_plotting.tex
@@ -153,7 +153,7 @@ Python}
\end{frame}
\begin{frame}
- \frametitle{About the Tutorial}
+ \frametitle{About the material}
\begin{block}{Intended Audience}
\begin{itemize}
\item Engg., Mathematics and Science researchers with a
@@ -463,6 +463,9 @@ In []: legend(['sin(2y)'], loc='center')
'best'
'right'
'center'
+'upper right'
+'lower right'
+'center right'
\end{lstlisting}
\end{columns}
\inctime{15}
diff --git a/scipy/basic/Makefile b/scipy/basic/Makefile
index 3ffa1a3..950c7e0 100644
--- a/scipy/basic/Makefile
+++ b/scipy/basic/Makefile
@@ -4,7 +4,8 @@
pdflatex $*.tex
pdflatex $*.tex
-SLIDES= 01_intro.pdf 02_prelims.pdf 03_ipython_plotting.pdf \
+SLIDES= 01_intro.pdf 02_prelims.pdf 02a_anaconda.pdf \
+ 03_ipython_plotting.pdf \
04_saving_scripts.pdf \
05_lists_arrays.pdf \
06_numpy.pdf \