Difference between revisions of "PhD Python Course"

From ISLAB/CAISR
 
Line 20: Line 20:
 
== Recent Presentations ==
 
== Recent Presentations ==
 
* Tiago Fernandes Cortinhal (2024-08-16): [[Media:PytorchLightning.pdf|Pytorch with Lightning Presentation]] and [[Media:PytorchLightning.zip|Pytorch with Lightning Jupyter Notebook]]
 
* Tiago Fernandes Cortinhal (2024-08-16): [[Media:PytorchLightning.pdf|Pytorch with Lightning Presentation]] and [[Media:PytorchLightning.zip|Pytorch with Lightning Jupyter Notebook]]
* Ghaith Altarabichi (2024-03-19): [[Media:DEAP.zip|DEAP]]
+
* Ghaith Altarabichi (2024-03-19): [[Media:deap.zip|DEAP]]
 
* Ali Nada (2024-03-14): [[Media:CudaC.pdf|Cuda C Presentation]] and [[Media:CudaC.zip|Cuda C Additional Materials]]
 
* Ali Nada (2024-03-14): [[Media:CudaC.pdf|Cuda C Presentation]] and [[Media:CudaC.zip|Cuda C Additional Materials]]
 
* Galina (2024-03-13): [[Media:Plotly.pdf|Plotly Presentation]] and [[Media:Plotly.zip|Plotly Additional Materials]]
 
* Galina (2024-03-13): [[Media:Plotly.pdf|Plotly Presentation]] and [[Media:Plotly.zip|Plotly Additional Materials]]

Latest revision as of 13:12, 25 August 2024

Course Format

I am responsible for the PhD course about Python, which is part of the mandatory "Introduction to research in embedded and intelligent systems" (FOIT002)... it used to be called "Advanced Python Programming" and I believe the current official name is "Embedded Intelligent Systems Languages and Tools".

This is a reminder and a "call for presentations" email. If you want to prepare a presentation for the course, let me know :)

This course is very application-driven (the goal is to make it easier for students to use Python as a tool) and also participant-driven (since I do not necessarily know what specific topics are useful for you). The focus is on exploring available tools and libraries, and on figuring out how to make best use out of them.

To this end, the course consists of presentations by students -- each about two hours total, with the first half being a lecture/presentation, and the second half being some form of hands-on exercise/demo. The topic can be anything related to programming tools... preferably Python, but not necessarily -- for example, we have had presentations about R before.

You can also check the course webpage on the wiki, with past presentations: https://wiki.hh.se/caisr/index.php/Python_Course

In order to get credits for the course, you will need to do one such presentation, and attend most of presentations by other students (at least three).

Also, if you know of somebody who is interested in the course but didn't get this email, let me know (and/or subscribe them to the mailing list)


-- Slawomir

Recent Presentations

Presentations from years ago

Introduction

Books (those are quite a bit dated, I am sure there are newer ones out there, but I don't know them):

IDE:

Official:

Things to start with

Essential libraries:

  • numpy / scipy
  • matplotlib

2015.12.04

Things I have talked about today (non-obvious and important stuff in bold):

  • Hello, world!
  • list / dictionary / string / number / tuple / set
  • functions
    • default arguments, keyword arguments, variable argument lists
    • anonymous functions / lambda
  • exceptions
  • if / for / while / else / break / continue
    • else also works for loops
  • variables & assignment
    • pass-by-reference semantics
    • difference between = and ==
  • generators / iterators
  • list comprehension / generator comprehension / dictionary comprehension
  • string formatting
  • modules / import / import as / import from
  • classes
    • special methods: __init__ / __str__ / __eq__ / __call__ / ...
    • descriptors
  • advanced ideas
    • decorators
    • metaclasses

Modules in standard library you should definitely know about:

  • sqlite3
  • collections (especially defaultdict)
  • re
  • datetime
  • threading / multiprocessing / Queue
  • random
  • itertools / functools
  • os / sys / shutil / os.path
  • pickle
  • md5
  • subprocess
  • socket
  • urllib / httplib / email / cgi / urlparse / cookielib
  • pdb (especially pm)
  • win32api / win32gui

Additional

Advanced stuff:

Fun: