Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions Exercises/Script/IntroToPython.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
"source": [
"# Introduction to Python\n",
"\n",
"MiCM Workshop - February 18, 2026\n",
"MiCM Workshop - October 2nd, 2026\n",
"\n",
"Sameena Karsan, PhD Student, Quantitative Life Sciences, McGill University\n",
"Anna Zaidi, PhD Student, Quantitative Life Sciences, McGill University\n",
"\n",
"Cienna Gin-Naccarato, MSc. Student, Human Genetics, McGill University\n",
"\n",
"Dear `Reader | Workshop Attendee`, \n",
"Welcome! In this interactive Jupyter Notebook, I will introduce you to the [Python](https://www.python.org) programming language. In this workshop, we'll journey from the beginnings of storing data in variables and doing simple calculations to writing powerful functions to perform repeatable operations.\n",
"Welcome! In this interactive Jupyter Notebook, we will introduce you to the [Python](https://www.python.org) programming language. In this workshop, we'll journey from the beginnings of storing data in variables and doing simple calculations to writing powerful functions to perform repeatable operations.\n",
"\n",
"This notebook is the **student version**, which contains several blanks where I will write code during the workshop and where you can fill out exercises. There is a [**solution version**](../results/IntroToPython.ipynb) in the `results` folder. I recommend trying the exercises yourself before looking at the solutions, There is often more than one way to answer a programming question, so you should focus more on understanding the code that you are writing, instead of just copying my answers. You may come up with an answer better than the one I've provided!\n",
"\n",
Expand Down Expand Up @@ -78,9 +80,9 @@
" 3. Glimpse of other cool programming topics\n",
"\n",
"\n",
"When this workshop is over, you should be able to write simple Python scripts. More importantly, I am hoping to give you *the tools* so that you can learn new Python skills and read documentation to find what you need. **In my opinion, the most important part of programming is knowing how to get help when you need it.**\n",
"When this workshop is over, you should be able to write simple Python scripts. More importantly, we are hoping to give you *the tools* so that you can learn new Python skills and read documentation to find what you need. **In our opinion, the most important part of programming is knowing how to get help when you need it.**\n",
"\n",
"This workshop material is based on my previous workshop material, as well as workshop material by Najia Bouaddouch."
"This workshop material is based on Benjamin Rudski's previous workshop material, as well as workshop material by Najia Bouaddouch."
]
},
{
Expand Down Expand Up @@ -3356,7 +3358,7 @@
"\n",
"Good news! You don't have to! With Python, it's very easy to install **packages** and import code from **modules**.\n",
"\n",
"These topics will be covered in my upcoming workshop **Data Processing in Python**. Here's a little preview of what will be covered:\n",
"These topics will be covered in the workshop **Data Processing in Python**. Here's a little preview of what will be covered:\n",
"\n",
"* Modules and packages: how to use code written by other people\n",
"* Array programming with NumPy: how to store large arrays of data\n",
Expand All @@ -3374,7 +3376,7 @@
"source": [
"## How to Get Help and How NOT to Get Help?\n",
"\n",
"This section is based on the corresponding sections in two of my previous workshops (see [Intro to Python - Summer 2024](https://github.com/bzrudski/micm_intro_to_python_summer_2024) and [Intermediate Python - Summer 2024](https://github.com/bzrudski/micm_intermediate_python_summer_2024)).\n",
"This section is based on the corresponding sections in two of Benjamin Rudski's previous workshops (see [Intro to Python - Summer 2024](https://github.com/bzrudski/micm_intro_to_python_summer_2024) and [Intermediate Python - Summer 2024](https://github.com/bzrudski/micm_intermediate_python_summer_2024)).\n",
"\n",
"When writing code, there are a bunch of resources that can help you!\n",
"\n",
Expand Down
6 changes: 2 additions & 4 deletions Outline/Outline.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Intro to Python (Part 1)

**Workshop Lead: Sameena Karsan**

**Facilitator: James Randolph**
**Workshop Leads: Anna Zaidi and Cienna Gin-Naccarato**

**Registration link: <https://forms.office.com/r/UwgvBnDrJ4>**

Expand All @@ -18,7 +16,7 @@

**Summary: (2-3 sentences summarizing the workshop)**

In this 4-hour workshop, participants will be introduced to the basics of programming in Python. Students will journey from the beginnings of creating variables and performing simple mathematical operations to writing code that can perform fundamental tasks and wrapping this code into functions. Participants will learn how to write the important building blocks that make up complex programs.
In this 2-hour workshop, participants will be introduced to the basics of programming in Python. Students will journey from the beginnings of creating variables and performing simple mathematical operations to writing code that can perform fundamental tasks and wrapping this code into functions. Participants will learn how to write the important building blocks that make up complex programs.

**Learning Objectives: (List 3-5 learning objectives participants will learn upon completion of this workshop)**

Expand Down