From c76d006571d94e1faa6fc1bd26098b13e246e9c6 Mon Sep 17 00:00:00 2001
From: mlefter <m.lefter@lumc.nl>
Date: Tue, 20 Nov 2018 15:00:58 +0100
Subject: [PATCH] Switch to tex

---
 images/Python.svg                          | 205 +++++++++++
 introduction/presentation/presentation.tex | 390 +++++++++++++++++++++
 2 files changed, 595 insertions(+)
 create mode 100644 images/Python.svg
 create mode 100644 introduction/presentation/presentation.tex

diff --git a/images/Python.svg b/images/Python.svg
new file mode 100644
index 0000000..6d46c9b
--- /dev/null
+++ b/images/Python.svg
@@ -0,0 +1,205 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="42.351788"
+   height="47.969704"
+   version="1.1"
+   id="svg51"
+   sodipodi:docname="Python.svg"
+   inkscape:version="0.92.3 (unknown)">
+  <metadata
+     id="metadata55">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1920"
+     inkscape:window-height="1136"
+     id="namedview53"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:zoom="6.9532167"
+     inkscape:cx="0.16228931"
+     inkscape:cy="16.765621"
+     inkscape:window-x="1280"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg51" />
+  <defs
+     id="defs27">
+    <linearGradient
+       id="lg1">
+      <stop
+         stop-color="#3778ae"
+         offset="0"
+         id="stop2" />
+      <stop
+         stop-color="#366c99"
+         offset="1"
+         id="stop4" />
+    </linearGradient>
+    <linearGradient
+       id="lg2">
+      <stop
+         stop-color="#fff"
+         offset="0"
+         id="stop7" />
+      <stop
+         stop-color="#fff"
+         stop-opacity="0.165"
+         offset="1"
+         id="stop9" />
+    </linearGradient>
+    <linearGradient
+       id="lg3">
+      <stop
+         stop-color="#ffe253"
+         offset="0"
+         id="stop12" />
+      <stop
+         stop-color="#ffca1c"
+         offset="1"
+         id="stop14" />
+    </linearGradient>
+    <linearGradient
+       id="lg4">
+      <stop
+         stop-color="#000"
+         offset="0"
+         id="stop17"
+         style="stop-color:#000000;stop-opacity:1" />
+      <stop
+         stop-color="#000"
+         stop-opacity="0"
+         offset="1"
+         id="stop19"
+         style="stop-color:#ededed;stop-opacity:0" />
+    </linearGradient>
+    <linearGradient
+       x1="94.693001"
+       y1="112.511"
+       x2="94.693001"
+       y2="64.053001"
+       id="lg5"
+       xlink:href="#lg2"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.353878,0,0,0.353878,-20.205343,-20.508134)" />
+    <linearGradient
+       x1="59.728001"
+       y1="102"
+       x2="142.62"
+       y2="102"
+       id="lg6"
+       xlink:href="#lg1"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.353878,0,0,0.353878,-20.205343,-20.508134)" />
+    <linearGradient
+       x1="94.693001"
+       y1="112.511"
+       x2="94.693001"
+       y2="64.053001"
+       id="lg7"
+       xlink:href="#lg2"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.353878,0,0,0.353878,-9.1228126,-9.0415038)" />
+    <linearGradient
+       x1="119.191"
+       y1="89.129997"
+       x2="116.965"
+       y2="169.27901"
+       id="lg8"
+       xlink:href="#lg3"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.353878,0,0,0.353878,-19.215543,-19.093134)" />
+    <radialGradient
+       cx="15.115"
+       cy="63.965"
+       r="12.289"
+       fx="15.115"
+       fy="63.965"
+       id="rg1"
+       xlink:href="#lg4"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.576594,0.00585151,-0.00204781,0.5517502,-2.3812288,5.8086887)" />
+  </defs>
+  <path
+     d="m 40.979775,41.190041 a 19.6618,6.7805 0 0 1 -39.3235993,0 19.6618,6.7805 0 1 1 39.3235993,0 z"
+     id="path29"
+     style="fill:url(#rg1)"
+     inkscape:connector-curvature="0" />
+  <path
+     d="m 31.254557,36.483366 c 0,2.7319 -2.371,4.1156 -4.7774,4.8057 -3.6202,1.0404 -6.5255,0.8811 -9.5511,0 -2.5268,-0.7362 -4.7774,-2.2402 -4.7774,-4.8057 v -9.0132 c 0,-2.594 2.1621,-4.8092 4.7774,-4.8092 l 9.3984,-0.6111 c 3.1814,0 5.2606,-1.9858 5.2606,-5.245 l 0.8655,-4.3569 h 3.5813 c 2.7814,0 4.0909,2.0667 4.7774,4.8056 0.9555,3.8043 0.9978,6.6495 0,9.615 -0.9661,2.8805 -2,4.8056 -4.7774,4.8056 h -4.7773 -9.5512 v -0.02 c 8.2424,0.02 9.5512,-3.3164 9.5512,4.8281 z"
+     id="path31"
+     inkscape:connector-curvature="0"
+     style="fill:url(#lg8)" />
+  <path
+     d="m 25.284557,37.081466 c 0,-0.9944 0.8033,-1.8013 1.7906,-1.8013 1,0 1.7906,0.8069 1.7906,1.8013 0,0.9979 -0.7997,1.8047 -1.7906,1.8047 -0.9873,0 -1.7906,-0.8068 -1.7906,-1.8047 z"
+     id="path33"
+     inkscape:connector-curvature="0"
+     style="fill:#ffffff" />
+  <path
+     d="m 32.440357,12.447466 v 4.2265 c -3.4111,5.9969 -9.8912,6.0086 -15.3272,6.0086 l -2.017,0.2052 c -2.8342,2.4364 -2.9244,6.3463 -2.9223,9.7756 6.2502,-6.9742 12.9174,-7.5004 16.2436,-7.4854 6.6377,0.029 9.7638,-1.6029 12.9339,-5.1939 -0.016,-0.07 0.016,-0.132 0,-0.2037 -0.1222,-0.8 -0.3362,-1.6544 -0.5601,-2.546 -0.3218,-1.2839 -0.7428,-2.4141 -1.4257,-3.2589 -0.016,-0.016 -0.038,-0.034 -0.051,-0.05 0,0 -0.042,0 -0.05,0 -0.023,-0.028 -0.028,-0.075 -0.05,-0.1011 -0.047,-0.034 -0.052,-0.07 -0.101,-0.101 -0.016,-0.016 -0.039,0.016 -0.05,0 -0.7241,-0.4693 -1.6036,-0.8195 -2.4952,-0.9676 -0.8081,-0.1336 -1.6192,-0.2354 -2.4442,-0.3055 h -0.5092 -1.1711 z"
+     id="path35"
+     inkscape:connector-curvature="0"
+     style="opacity:0.83699999;fill:url(#lg7)" />
+  <path
+     d="m 31.733157,36.482866 c 0,2.732 -2.8497,4.116 -5.256,4.806 -3.62,1.04 -6.525,0.881 -9.551,0 -2.527,-0.736 -4.801,-2.24 -4.805,-4.805 l -0.016,-9.258 c -0.01,-3.073 2.302,-5.01 4.849,-5 l 8.4667,0.015 c 3.25,0 6.41,-3.3 6.401,-6.55 v -3.237 h 4.21 c 2.7814,0 4.09,2.067 4.777,4.806 0.956,3.804 1,6.649 0,9.615 -0.966,2.88 -2,5.1476 -4.777,5.148 h -4.3 -10.03 v -0.02 l 10.03,0.034 z"
+     id="path37"
+     inkscape:connector-curvature="0"
+     style="fill:none;stroke:#bb9400;stroke-width:1.63" />
+  <path
+     d="m 32.639457,13.262266 v 2.3933 c 0,3.7245 -3.4965,7.3757 -7.4809,7.3757 h -8.2491 c -2.8506,0 -4.0184,2.1569 -4.0042,4.4379 l 0.056,9.0129 c 0.01,1.0446 0.4,1.8235 1.148,2.4951 0.748,0.6715 1.8726,1.183 3.0553,1.5277 2.9164,0.8492 5.576,1.0022 9.0638,0 1.1327,-0.3248 2.6394,-0.9401 3.3976,-1.5964 0.7581,-0.6565 1.3077,-1.2961 1.3077,-2.4264 v -3.6298 h -10.052 v -1.6795 l 15.1743,0.05 c 1.2008,0 1.788,-0.4724 2.3844,-1.1633 0.5964,-0.691 1.1149,-2.0469 1.5874,-3.456 0.9456,-2.8096 0.9336,-5.4491 0,-9.1658 -0.3252,-1.2978 -0.7976,-2.3461 -1.4257,-3.0552 -0.628,-0.7091 -1.357,-1.1202 -2.5461,-1.1202 z m 1.6294,1.6294 h 1.7867 c 0.5202,0 1.1993,0.4194 1.324,0.5602 0.3625,0.4093 0.78,1.2386 1.0694,2.3932 0.8895,3.5416 0.8915,5.7515 0.05,8.2491 -0.4517,1.347 -0.9205,2.6142 -1.2729,3 -0.3184,0.3395 -1,0.5093 -1.1713,0.5093 l -4.7865,-0.051 h -12.0173 v 4.9384 h 10.052 v 2 c 0,0.727 -0.9733,1.1789 -1.1408,1.3239 -0.4872,0.4219 -1.3508,0.8359 -2.3423,1.1202 -3.223,0.9264 -5.5,0.7859 -8.1984,0 -1.0211,-0.2975 -1.9061,-0.7339 -2.4069,-1.1595 -0.5008,-0.4256 -0.5316,-0.7741 -0.6238,-1.285 l -0.056,-9.0129 c -0.013,-2.0224 0.6457,-2.8084 2.3748,-2.8084 h 8.2491 c 4.9233,0 9.1103,-4.3502 9.1103,-9.0052 10e-5,-0.2574 -1e-4,-0.5149 -1e-4,-0.7723 z"
+     id="path39"
+     inkscape:connector-curvature="0"
+     style="opacity:0.38399999;fill:#ffffff" />
+  <path
+     d="m 11.158857,6.2237662 c 0,-2.7319 0.7324,-4.2182 4.7772,-4.926 2.7462,-0.48130005 6.2673,-0.54140005 9.5513,0 2.5939,0.4282 4.7774,2.3604 4.7774,4.926 v 9.0133998 c 0,2.6434 -2.1198,4.8091 -4.7774,4.8091 l -8.6621,0.4788 c -3.2414,0 -6.589,2.8321 -6.589,5.957 l -0.2735996,3.777 h -3.284 c -2.7779,0 -4.3951,-2.0029 -5.0745,-4.8056 -0.91660001,-3.7651 -0.87760001,-6.0088 0,-9.6147 0.7608,-3.1461 3.192,-4.8058 5.7,-4.8058 h 3.5847996 c 0,0 8.9448,-0.035 0,-0.032 v -4.7770998 0 z"
+     id="path41"
+     inkscape:connector-curvature="0"
+     style="fill:url(#lg6)" />
+  <path
+     d="m 13.547457,5.6256662 c 0,-1 0.8,-1.8048 1.7906,-1.8048 0.9873,0 1.7907,0.8068 1.7907,1.8048 0,0.9944 -0.8034,1.8012 -1.7907,1.8012 -0.9908,0 -1.7906,-0.8068 -1.7906,-1.8012 z"
+     id="path43"
+     inkscape:connector-curvature="0"
+     style="fill:#ffffff" />
+  <path
+     d="m 19.891457,0.89936615 c -1.4134,0.0342 -2.7704,0.19680005 -3.9718,0.40730005 -4.0448,0.7078 -4.7355,2.2074 -4.7355,4.9393 l -0.2952,4.7869998 -3.3202996,-3e-4 c -2.7779,0 -5.1968,1.6406 -5.9576,4.7864 -0.5165,2.1225 -0.75040001,3.7842 -0.66210001,5.5504 6.29240001,-7.1319 13.04419961,-7.6531 16.39649961,-7.638 6.6376,0.029 9.7637,-1.6029 12.9338,-5.1938998 v -2.2914 c 0,-2.5655 -2.1926,-4.511 -4.7865,-4.9392 -1.8472,-0.3048 -3.7841,-0.45160005 -5.6013,-0.40760005 z"
+     id="path45"
+     inkscape:connector-curvature="0"
+     style="opacity:0.37700004;fill:url(#lg5)" />
+  <path
+     d="m 15.870157,1.5309662 c 3.6201,-1.04040005 6.5255,-0.88110005 9.551,0 2.5268,0.7361 4.7787,2.24 4.7774,4.8057 v 9.7314998 c 0,1.3662 -1.9746,4.5293 -4.7726,4.5293 h -8.8988 c -2.4983,0 -5.997,2.7217 -5.997,5.981 v 3.7937 H 6.3201574 c -2.7815,0 -4.0909,-2.0667 -4.7774,-4.8058 -0.95550001,-3.8041 -1.00000001,-6.6493 0,-9.6148 0.9661,-2.8806 2,-5.1477 4.7774,-5.1477 h 4.2984996 10.03 v 0.019 l -10.03,-0.034 0.019,-4.8732998 c -0.026,-1.9965 2.4146,-3.5524 5.2323,-4.3845 z"
+     id="path47"
+     inkscape:connector-curvature="0"
+     style="fill:none;stroke:#274e70;stroke-width:1.63" />
+  <path
+     d="m 9.7078574,29.557666 v -2.796 c 0,-3.7246 3.3952996,-7.0287 7.0460996,-7.0287 h 8.6839 c 2.1549,0 4.024,-2.2411 4.0042,-4.3821 l -0.0834,-9.0129998 c -0.0097,-1.0445 -0.3722,-1.8235 -1.1203,-2.4951 -0.7479,-0.6716 -1.8726,-1.1831 -3.0552,-1.5276 -2.9166,-0.8494 -5.5762,-1.0023 -9.0639,0 -1.1326,0.3248 -2.6396,0.94 -3.3976,1.5964 -0.7582,0.6564 -1.3076,1.296 -1.3076,2.4263 v 3.6298 h 10.0519 v 1.6803998 l -15.1742996,-0.051 c -1.2,0 -1.788,0.4724 -2.3844,1.1634 -0.5964,0.6908 -1.1149,2.0467 -1.5874,3.4559 -0.9456,2.8096 -0.9335,5.449 0,9.1657 0.3252,1.2978 0.7976,2.3461 1.4258,3.0552 0.628,0.7092 1.357,1.1203 2.546,1.1203 h 3.4162 z m -1.6295,-1.6295 h -1.7867 c -0.52,0 -1.2,-0.4194 -1.3239,-0.56 -0.3626,-0.4094 -0.7801,-1.2388 -1.0695,-2.3934 -0.8895,-3.5415 -0.8914,-5.7513 -0.0505,-8.2491 0.4517,-1.3468 0.9205,-2.6141 1.273,-2.9899 0.3184,-0.3393 0.9909,-0.5092 1.1712,-0.5092 l 16.8037996,0.051 V 8.3381662 h -10.0519 v -2 c 0,-0.727 0.9732,-1.1789 1.1407,-1.3239 0.4873,-0.4219 1.3509,-0.8359 2.3424,-1.12 3.2229,-0.9262 5.5,-0.7858 8.1983,0 1.0212,0.2975 1.9061,0.7339 2.3932,1.1712 0.1733,0.1352 0.2646,0.2973 0.4078,0.4582 0.1987,0.237 0.1552,0.55023 0.2011,0.8147 v 9.0129998 c 0,1.2357 -1.0565,2.7527 -2.2913,2.7527 h -8.6839 c -4.5897,0 -8.6755996,4.0029 -8.6755996,8.6581 0,0.3875 0,1.166 0,1.166 z"
+     id="path49"
+     inkscape:connector-curvature="0"
+     style="opacity:0.16499999;fill:#ffffff" />
+</svg>
diff --git a/introduction/presentation/presentation.tex b/introduction/presentation/presentation.tex
new file mode 100644
index 0000000..4aa6da7
--- /dev/null
+++ b/introduction/presentation/presentation.tex
@@ -0,0 +1,390 @@
+\documentclass[slidestop]{beamer}
+
+\author{Mihai Lefter}
+\title{Python Programming}
+\providecommand{\mySubTitle}{Introduction}
+\providecommand{\myConference}{Work discussion}
+\providecommand{\myDate}{27-11-2018}
+\providecommand{\myGroup}{}
+\providecommand{\myDepartment}{}
+\providecommand{\myCenter}{}
+
+\usetheme{lumc}
+
+\usepackage{minted}
+\usepackage{tikz}
+\usepackage[many]{tcolorbox}
+
+\definecolor{monokaibg}{HTML}{272822}
+
+\newenvironment{ipython}
+ {\begin{tcolorbox}[title=IPython,
+                   title filled=false,
+                   fonttitle=\scriptsize,
+                   fontupper=\footnotesize,
+                   enhanced,
+                   colback=monokaibg,
+                   drop small lifted shadow,
+                   boxrule=0.1mm,
+                   left=0.1cm,
+                   arc=0mm,
+                   colframe=black]}
+ {\end{tcolorbox}
+}
+
+\definecolor{white}{rgb}{1,1,1}
+\definecolor{mygreen}{rgb}{0,0.4,0}
+\definecolor{light_gray}{rgb}{0.97,0.97,0.97}
+\definecolor{mykey}{rgb}{0.117,0.403,0.713}
+
+\tcbuselibrary{listings}
+\newlength\inwd
+\setlength\inwd{1.3cm}
+
+\newcounter{ipythcntr}
+\renewcommand{\theipythcntr}{\texttt{[\arabic{ipythcntr}]}}
+
+\newtcblisting{pyin}[1][]{%
+  sharp corners,
+  enlarge left by=\inwd,
+  width=\linewidth-\inwd,
+  enhanced,
+  boxrule=0pt,
+  colback=light_gray,
+  listing only,
+  top=0pt,
+  bottom=0pt,
+  overlay={
+    \node[
+      anchor=north east,
+      text width=\inwd,
+      font=\footnotesize\ttfamily\color{mykey},
+      inner ysep=2mm,
+      inner xsep=0pt,
+      outer sep=0pt
+      ]
+      at (frame.north west)
+      {\refstepcounter{ipythcntr}\label{#1}In \theipythcntr:};
+  }
+  listing engine=listing,
+  listing options={
+    aboveskip=1pt,
+    belowskip=1pt,
+    basicstyle=\footnotesize\ttfamily,
+    language=Python,
+    keywordstyle=\color{mykey},
+    showstringspaces=false,
+    stringstyle=\color{mygreen},
+    numbers=none,
+    frame=none
+  },
+}
+\newtcblisting{pyprint}{
+  sharp corners,
+  enlarge left by=\inwd,
+  width=\linewidth-\inwd,
+  enhanced,
+  boxrule=0pt,
+  colback=white,
+  listing only,
+  top=0pt,
+  bottom=0pt,
+  overlay={
+    \node[
+      anchor=north east,
+      text width=\inwd,
+      font=\footnotesize\ttfamily\color{mykey},
+      inner ysep=2mm,
+      inner xsep=0pt,
+      outer sep=0pt
+      ]
+      at (frame.north west)
+      {};
+  }
+  listing engine=listing,
+  listing options={
+      aboveskip=1pt,
+      belowskip=1pt,
+      basicstyle=\footnotesize\ttfamily,
+      language=Python,
+      keywordstyle=\color{mykey},
+      showstringspaces=false,
+      stringstyle=\color{mygreen},
+      numbers=none,
+      frame=none
+    },
+}
+\newtcblisting{pyout}[1][\theipythcntr]{
+  sharp corners,
+  enlarge left by=\inwd,
+  width=\linewidth-\inwd,
+  enhanced,
+  boxrule=0pt,
+  colback=white,
+  listing only,
+  top=0pt,
+  bottom=0pt,
+  overlay={
+    \node[
+      anchor=north east,
+      text width=\inwd,
+      font=\footnotesize\ttfamily\color{mykey},
+      inner ysep=2mm,
+      inner xsep=0pt,
+      outer sep=0pt
+      ]
+      at (frame.north west)
+      {\setcounter{ipythcntr}{\value{ipythcntr}}Out#1:};
+  }
+  listing engine=listing,
+  listing options={
+      aboveskip=1pt,
+      belowskip=1pt,
+      basicstyle=\footnotesize\ttfamily,
+      language=Python,
+      keywordstyle=\color{mykey},
+      showstringspaces=false,
+      stringstyle=\color{mygreen},
+      numbers=none,
+      frame=none
+    },
+}
+
+
+
+\begin{document}
+
+% This disables the \pause command, handy in the editing phase.
+%\renewcommand{\pause}{}
+
+% Make the title slide.
+\makeTitleSlide{\includegraphics[height=3.5cm]{../../images/Python.pdf}}
+
+% First page of the presentation.
+\section{Introduction}
+\makeTableOfContents
+
+\subsection{About the course}
+\begin{pframe}
+ \begin{itemize}
+  \item Aimed at PhD students, Postdocs, researchers, analysts, ...
+  \item Focus on:
+  \begin{itemize}
+   \item Basic understanding of Python.
+   \item Programming as a tool to do your research.
+   \item Slightly biased on bioinformatics.
+  \end{itemize}
+ \end{itemize}
+\end{pframe}
+
+\subsection{Hands on!}
+\begin{pframe}
+ Programming is fun!
+ \begin{itemize}
+  \item You only learn programming by doing it.
+  \item Lecture format:
+  \begin{itemize}
+   \item Blended teaching + exercising.
+  \end{itemize}
+  \item Have your laptop open during the lessons.
+  \item Repeat the code from the slides, play around with it.
+  \item Do the session exercises.
+  \item There will be a few assignments to submit.
+ \end{itemize}
+\end{pframe}
+
+\subsection{Teachers}
+\begin{pframe}
+ \begin{itemize}
+  \item Sander Bollen \\
+    \url{a.h.b.bollen@lumc.nl}
+  \item Jonathan Vis \\
+    \url{j.k.vis@lumc.nl}
+  \item Mark Santcroos \\
+    \url{m.a.santcroos@lumc.nl}
+  \item Guy Allard \\
+    \url{w.g.Allard@lumc.nl}
+  \item Mihai Lefter\\
+    \url{m.lefter@lumc.nl}
+ \end{itemize}
+\end{pframe}
+
+\subsection{Software requirements}
+\begin{pframe}
+ \begin{itemize}
+  \item Anaconda:
+  \begin{itemize}
+   \item Python 3.7
+   \item Comes with all that's required:
+   \begin{itemize}
+    \item Python interpreter.
+    \item Jupyter Notebook.
+    \item Libraries: NumPy, Panda, matplotlib, Bokeh, Biopython, ...
+   \end{itemize}
+   \item \href{http://docs.anaconda.com/anaconda/install/}{Installation instructions}.
+  \end{itemize}
+  \item Git.
+ \end{itemize}
+\end{pframe}
+
+\subsection{Assignments}
+\begin{pframe}
+ \begin{itemize}
+  \item We make use of GitHub Classroom.
+  \begin{itemize}
+   \item GitHub account required.
+   \item Receive link with assignment repository.
+  \end{itemize}
+  \item Own forked repository to work on:
+  \begin{itemize}
+   \item Clone it.
+   \item Code.
+   \item Push it.
+  \end{itemize}
+  \item Direct file upload to repository is also possible.
+ \end{itemize}
+\end{pframe}
+
+\subsection{Getting help}
+\begin{pframe}
+ \begin{itemize}
+  \item Ask a teacher.
+  \item If it's private, mail one of the teachers.
+ \end{itemize}
+\end{pframe}
+
+\section{About Python}
+
+\subsection{History}
+\begin{pframe}
+ \begin{itemize}
+  \item Created early 90's by Guido van Rossem at CWI.
+  \begin{itemize}
+   \item Name: Monty Python.
+  \end{itemize}
+  \item General purpose, high-level programming language.
+  \item Design is driven by code readability.
+ \end{itemize}
+\end{pframe}
+
+\subsection{Features}
+\begin{pframe}
+ \begin{itemize}
+  \item Interpreted, no separate compilation step needed.
+  \item Imperative and object-oriented programming.
+  \begin{itemize}
+   \item And some functional programming.
+  \end{itemize}
+  \item Dynamic type system.
+  \item Automatic memory management.
+ \end{itemize}
+ We'll come back to most of this.
+\end{pframe}
+
+\subsection{Why Python?}
+\begin{pframe}
+ \begin{itemize}
+  \item Readable and low barrier to entry.
+  \item Rich scientific libraries.
+  \item Many other libraries available.
+  \item Widely used with a large community.
+ \end{itemize}
+\end{pframe}
+
+\subsection{Python 2 versus Python 3}
+\begin{pframe}
+ \begin{itemize}
+  \item Python 3 is backwards incompatible.
+  \item Some libraries don't support it yet.
+  \item Python 2.7 is the last Python 2.
+  \item Some Python 3 features are backported in Python 2.7.
+  \item Python 2.7 will no longer .
+ \end{itemize}
+  We use Python 3.7 for the time being.
+\end{pframe}
+
+% \subsection{}
+% \begin{pframe}
+%  \begin{itemize}
+%   \item
+%  \end{itemize}
+% \end{pframe}
+
+\section{Python as a calculator}
+
+\subsection{Integers}
+\begin{pframe}
+ \begin{pyin}
+17
+ \end{pyin}
+ \begin{pyout}
+17
+ \end{pyout}
+ \begin{pyin}
+(17 + 4) * 2
+ \end{pyin}
+ \begin{pyout}
+42
+ \end{pyout}
+\end{pframe}
+
+\subsection{Floating point numbers}
+\begin{pframe}
+ \begin{pyin}
+3.2 * 18 - 2.1
+ \end{pyin}
+ \begin{pyout}
+55.5
+ \end{pyout}
+ \begin{pyin}
+36. / 5
+ \end{pyin}
+ \begin{pyout}
+7.2
+ \end{pyout}
+
+Scientific notation:
+ \begin{pyin}
+1.3e20 + 2
+ \end{pyin}
+ \begin{pyout}
+1.3e+20
+ \end{pyout}
+ \begin{pyin}
+1.3 * 10**20
+ \end{pyin}
+ \begin{pyout}
+1.3e+20
+ \end{pyout}
+
+\end{pframe}
+
+% \begin{pframe}
+%   \begin{ipython}
+%   \begin{minted}[breaklines=true,style=monokai]{python}
+% a = 100
+%   \end{minted}
+%  \end{ipython}
+% \end{pframe}
+
+
+% Make the acknowledgements slide.
+\makeAcknowledgementsSlide{
+  \begin{tabular}{ll}
+    \bf Department one  & \bf Other department\\
+    Colleague one       & Someone\\
+    Colleague two       & Someone else\\
+    Colleague three     & Someone's supervisor\\
+    Supervisor\\
+  \end{tabular}
+  \bigskip
+
+  \begin{tabular}{llll}
+    \includegraphics[height=1cm]{logos/lumc_logo_small} &
+    \includegraphics[height=1cm]{logos/ul_logo_white} &
+    \includegraphics[height=1cm]{logos/lumc_logo_small} &
+    \includegraphics[height=1cm]{logos/ul_logo_white}
+  \end{tabular}
+}
+
+\end{document}
-- 
GitLab