Skip to content

Lecture and lab materials for 2024 Python Introductory Workshop.

Notifications You must be signed in to change notification settings

SimonRosen173/PythonIntroWorkshop2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is a workshop for E-Science students at the University of the Witwatersrand, covering an introduction to Python. In particular, this workshop is given over two days, with lectures to explain concepts and labs to obtain practice and familiarity.

The goal here is to allow participants of the workshop to have a solid foundation in programming, and be in the position to program what they want, or to be able to figure out how to do that.

Context

We will be covering Python in this workshop. Python is one of many programming languages, and is extensively used in machine learning and data science. Most postgraduate computer science courses also use Python. It is a language that has relatively simple syntax, and great support/libraries.

Lecturers

Simon Rosen & Abdel Njupoun.

Contact

For the workshop attendees, if you have any questions with regard to the workshop you can contact Simon Rosen at: [email protected].

  • Please note that due to the volume of emails, emails from non attendees of the workshop are unlikely to be responded to.

General Flow

The workshop will be over 3 days, and the schedule will be as follows:

TBC

Notes

Please ask questions at any point -- the goal of this workshop is to get everyone to properly understand Python, so if you do not understand something, please make us aware of that.

Content

Day 1

  • Basic Intro to Python
    • Goal is to introduce (almost) everything that you need to use Python. This will be somewhat surface level, but the exercises will solidify the concepts.
    • Loops

Day 2

  • More Advanced Concepts
    • Common Libraries
      • Numpy
      • Pandas
      • Plotting

Day 3

  • Brief introduction to Pytorch and more libraries.
  • Trying to solve actual problems.

First Steps

Installing Anaconda and getting Python to run. Anaconda is already installed in the lab computers. If you want to install it on your own machine, you can go to https://www.anaconda.com/products/distribution, download the installer and follow the steps. You can also follow the steps listed in this video (https://www.youtube.com/watch?v=uOwCiZKj2rg&t=492s) or blog post (https://medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d).

Jupyter Notebook

Jupyter Notebook is an interactive development environment for Python, which is commonly used in data science. It provides you with cells, in which you can write and execute code. This is what we will be using in this workshop, but, generally, you can also write code in .py files and run it either using the python program in a terminal or an IDE like VsCode or PyCharm.

Some getting started resources:

Acknowledgements

The workshop was slightly modified from a workshop prepared by Michael Beukman, with help from Simon Rosen. It was based off a previous workshop given by Michael, as well as the workshop given in previous years by Ruan Pretorius and Sheena Philip.

Other Resources

Feel free to look at the following resources for more information:

General Python

NumPy

Pandas

Matplotlib

About

Lecture and lab materials for 2024 Python Introductory Workshop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published