summaryrefslogtreecommitdiff
path: root/advanced_python
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-11-15 18:02:55 +0530
committerPrabhu Ramachandran2017-11-15 18:02:55 +0530
commit9555331147e61e648c888177b350303c67c0c55d (patch)
treec2f95cd4a0a2eb37ccd47f4a1bd637fe8c09249f /advanced_python
parent8150599ada0da21aff2336e4b9a4175704d0c975 (diff)
downloadpython-workshops-9555331147e61e648c888177b350303c67c0c55d.tar.gz
python-workshops-9555331147e61e648c888177b350303c67c0c55d.tar.bz2
python-workshops-9555331147e61e648c888177b350303c67c0c55d.zip
Small changes and use 16:9 aspectratio.
Diffstat (limited to 'advanced_python')
-rw-r--r--advanced_python/closures.tex2
-rw-r--r--advanced_python/intro.tex3
-rw-r--r--advanced_python/names_objects.tex4
-rw-r--r--advanced_python/only_kwargs.tex5
-rw-r--r--advanced_python/practice_functions.tex2
-rw-r--r--advanced_python/varargs_kwargs.tex5
6 files changed, 14 insertions, 7 deletions
diff --git a/advanced_python/closures.tex b/advanced_python/closures.tex
index 1c17c7b..267a94a 100644
--- a/advanced_python/closures.tex
+++ b/advanced_python/closures.tex
@@ -1,4 +1,4 @@
-\documentclass[14pt,compress]{beamer}
+\documentclass[14pt,compress,aspectratio=169]{beamer}
\input{macros.tex}
diff --git a/advanced_python/intro.tex b/advanced_python/intro.tex
index d0a7198..ce75248 100644
--- a/advanced_python/intro.tex
+++ b/advanced_python/intro.tex
@@ -1,4 +1,4 @@
-\documentclass[14pt,compress]{beamer}
+\documentclass[14pt,compress,aspectratio=169]{beamer}
\input{macros.tex}
@@ -36,6 +36,7 @@
\begin{itemize}
\item Canopy
\item Spyder
+ \item Emacs/Vim
\item VS Code \url{code.visualstudio.com}
\end{itemize}
\item Any Python environment works
diff --git a/advanced_python/names_objects.tex b/advanced_python/names_objects.tex
index 889741d..99eb4dd 100644
--- a/advanced_python/names_objects.tex
+++ b/advanced_python/names_objects.tex
@@ -1,4 +1,5 @@
-\documentclass[14pt,compress]{beamer}
+\documentclass[14pt,compress,aspectratio=169]{beamer}
+
\input{macros.tex}
@@ -258,6 +259,7 @@ In []: a = 'hello'
\begin{frame}[fragile]
\frametitle{Exercise 1}
+ \vspace*{-0.1in}
\begin{lstlisting}
a = [1, 2]
b = a
diff --git a/advanced_python/only_kwargs.tex b/advanced_python/only_kwargs.tex
index 68796cc..8d4caef 100644
--- a/advanced_python/only_kwargs.tex
+++ b/advanced_python/only_kwargs.tex
@@ -1,4 +1,4 @@
-\documentclass[14pt,compress]{beamer}
+\documentclass[14pt,compress,aspectratio=169]{beamer}
\input{macros.tex}
@@ -16,8 +16,9 @@
\titlepage
\end{frame}
-\begin{frame}[fragile]
+\begin{frame}[fragile, plain]
\frametitle{Motivation}
+ \vspace*{-0.1in}
\begin{itemize}
\item One can mix positional and keyword arguments
\end{itemize}
diff --git a/advanced_python/practice_functions.tex b/advanced_python/practice_functions.tex
index 8e28da2..9664171 100644
--- a/advanced_python/practice_functions.tex
+++ b/advanced_python/practice_functions.tex
@@ -1,4 +1,4 @@
-\documentclass[14pt,compress]{beamer}
+\documentclass[14pt,compress,aspectratio=169]{beamer}
\input{macros.tex}
diff --git a/advanced_python/varargs_kwargs.tex b/advanced_python/varargs_kwargs.tex
index 7becbeb..29f7e88 100644
--- a/advanced_python/varargs_kwargs.tex
+++ b/advanced_python/varargs_kwargs.tex
@@ -1,4 +1,4 @@
-\documentclass[14pt,compress]{beamer}
+\documentclass[14pt,compress,aspectratio=169]{beamer}
\input{macros.tex}
@@ -28,6 +28,7 @@
\begin{frame}[fragile]
\frametitle{Advanced unpacking}
+ \vspace*{-0.1in}
\begin{lstlisting}
In []: a, b = 1, 2 # We know this!
\end{lstlisting}
@@ -64,6 +65,7 @@ In []: f.close()
\begin{frame}[fragile]
\frametitle{Arbitrary positional arguments}
+ \vspace*{-0.1in}
\begin{itemize}
\item Arbitrary positional arguments: \lstinline{*arg}
\end{itemize}
@@ -101,6 +103,7 @@ Also is perfectly valid
\begin{frame}[fragile]
\frametitle{Arbitrary keyword arguments}
+ \vspace*{-0.1in}
\begin{itemize}
\item Keyword arguments using \lstinline{**kw}
\end{itemize}