Skip to content

Commit 8be93f5

Browse files
basic presentation for week 8 done.
1 parent 4462cb9 commit 8be93f5

2 files changed

Lines changed: 19 additions & 59 deletions

File tree

week-01/presentation-week01.pdf

-2.11 KB
Binary file not shown.

week-08/presentation-week08.tex

Lines changed: 19 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
\title[Python Certificate: System Development]{System Development with Python: Week 8}
55
\author{Christopher Barker}
66
\institute{UW Continuing Education}
7-
\date{March 26, 2013}
7+
\date{May 14, 2013}
88

99
\usepackage{listings}
1010
\usepackage{hyperref}
@@ -24,7 +24,7 @@
2424
\end{frame}
2525

2626

27-
\section{Profiling}
27+
\section{Timing}
2828

2929
% ---------------------------------------------
3030
\begin{frame}[fragile]{Performance Testing}
@@ -113,9 +113,10 @@ \section{Profiling}
113113
\url{http://ipython.org/ipython-doc/dev/interactive/tutorial.html}
114114
\end{frame}
115115

116+
\section{Profiling}
116117

117118
% ---------------------------------------------
118-
\begin{frame}[fragile]{profiling}
119+
\begin{frame}[fragile]{Profiling}
119120

120121
{\Large A profiler is a tool that describes the run time performance of a
121122
program, providing a variety of statistics}
@@ -131,7 +132,6 @@ \section{Profiling}
131132
\end{verbatim}
132133
{\Large spews some stats}
133134

134-
(demo)
135135

136136
\vfill
137137
\url{http://docs.python.org/library/profile.html}
@@ -242,9 +242,10 @@ \section{Profiling}
242242

243243
\end{frame}
244244

245+
\section{Performance Tuning}
245246

246247
% ---------------------------------------------
247-
\begin{frame}[fragile]{performance tips}
248+
\begin{frame}[fragile]{Performance Tips}
248249

249250
\vfill
250251
{\Large Some common python performance issues:}
@@ -274,92 +275,51 @@ \section{Profiling}
274275

275276
\end{frame}
276277

277-
\section{Package Structure}
278278

279279
%-------------------------------
280-
\begin{frame}[fragile]{Package Structure}
280+
\begin{frame}[fragile]{Wrap up}
281281

282282
\vfill
283-
{\Large You'll want to set up your project with good package structure}
284-
283+
{\Large I hope you have an idea how to profile and time your code.}
285284
\vfill
286-
{\Large \verb|python setup.py develop|}
287-
285+
{\Large Try it on a part of your project}
288286
\vfill
289287

290-
\url{http://guide.python-distribute.org/}
291-
292288
\end{frame}
293289

294-
295290
%-------------------------------
296-
\begin{frame}[fragile]{Wrap up}
291+
\begin{frame}{Next Week:}
297292

298293
\vfill
299-
{\Large Hopefully you've got a bit of an idea how to do\\[0.1in]
300-
unit testing in Python.}
294+
{\LARGE Student Presentations}
301295

302-
\vfill
303-
{\Large And will now start doing it.}
304296

305297
\vfill
306-
{\Large And have an idea how to profile and time your code.}
307298

308299
\end{frame}
309300

310-
%-------------------------------
311-
\begin{frame}[fragile]{Next Week:}
301+
% -------------------------------
302+
\begin{frame}[fragile]{Homework}
312303

313304
\vfill
314-
{\LARGE The python debugger pdb
305+
\Large{Profile your project}
315306

316307
\vfill
317-
{\Large -- Jeff}
308+
\Large{Performance tune part of it}
318309

319310
\vfill
320-
{\Large And of course, your projects...}
311+
\Large{Get ready to present}
321312

322313
\vfill
323314

324315
\end{frame}
325316

326-
\begin{frame}[fragile]{Package Structure}
327-
328-
\begin{itemize}
329-
\item Set up package structure
330-
\item Profile your class project
331-
\item Use timeit to test the slowest part of the code
332-
\item See if you can make it faster
333-
\end{itemize}
334-
335-
\end{frame}
336-
337-
%-------------------------------
338-
\begin{frame}[fragile]{Homework}
339-
340-
For the entire quarter, your homework is to work on your projects
341-
342-
For next week:
343-
344-
\begin{itemize}
345-
\item Set up the package structure
346-
\item Put it in gitHub (or some RCS)
347-
\item Map out the design
348-
\item Determine major third party packages you will need.
349-
\item Write a few unit tests (even if they all fail!)
350-
\end{itemize}
351-
352-
\end{frame}
353-
354317
%-------------------------------
355318
\begin{frame}[fragile]{Project Time!}
356319

357-
\begin{itemize}
358-
\item Do you have a project?
359-
\item Do you have a team?
360-
\item Do you know what modules you'll need?
361-
\item Let's get to work!
362-
\end{itemize}
320+
\vfill
321+
\Large{Map out what you're going to present}
322+
\vfill
363323

364324
\end{frame}
365325

0 commit comments

Comments
 (0)