Python Onramp

Welcome to the Python Onramp! Since REII 211 has transitioned from C to Python, this guide is designed to bridge the gap quickly so we can focus on the "meat" of the course: Algorithms.


Choose Your Path

Where Should You Start?

New to Python?

Python Pro?

Goal: Build a Foundation Work through the entire Jupyter notebook. Python is more concise than C, but the way it handles lists and memory is different. Don’t skip the basics.

Goal: Verify Skills If you’ve used Python before, skip the explanations and jump straight to the Problem Questions at the end of the notebook.


Getting the Notebook

circle-exclamation

Download from eFundi


How to Get Started

  1. Open VSCode and press Ctrl+O (or Cmd+O).

  2. Navigate to your downloaded PythonOnramp.ipynb.

  3. When prompted for a Kernel, select your Python 3.12 interpreter.


Help & Troubleshooting

Stuck on something?

  • Review the examples in the notebook

  • Try running the code in smaller pieces to understand each part

  • Ask questions during practical sessions

Common Issues:

  • Kernel not connecting: Restart VSCode or select a different Python interpreter

  • Cell won't run: Make sure you ran all previous cells in order

  • Import errors: Make sure your Python installation is complete


Learning Objectives

By the end of this onramp, you should be able to:

  • Implement a logic gate in Python without semicolons.

  • Understand Python's list slicing (you'll love this compared to C arrays).

  • Write and call functions with multiple return values.


circle-check

Last updated