University of New BrunswickGeodesy and Geomatics Engineering

GGE Home


GGE Python Workshop

2023


Session 1: Python Foundamentals

Presentation (PDF)
Code Samples/Materials

Videos (Youtube):

1.Why Python?
2.Python Overview
3.Setting up Your Development Environment
4.1.Python Basics - Comments and Literals
4.2.Python Basics - Variables
4.3.Python Basics - Operators
4.4.Python Basics - Control Structures
4.5.1.Python Basics - Numeric Types
4.5.2.Python Basics - Sequential Types Overview
4.5.3.Python Basics - Sequential Types: str list tuple
4.5.4.Python Basics - Mapping and Set
4.6.Python Basics - Functions
4.7.Python Basics - Classes, Objects, and Methods
4.8.Python Basics - Packages and Modules
5.Creating Your First Python Program & Assignment

Session 2: Python Advanced Topics

Presentation (PDF)
Code Samples/Materials

Videos (Youtube):

0.Python Libraries Used in the GGE Courses
1.Python Standard Library
2.1 & 2.2 NumPy Introduction and ndarray Class
2.3 Creating arrays
2.4 ndarray Properties
2.5 ndarray Methods
2.6 Iteration Over Arrays
3.1 Matplotlib Introduction and Architecture
3.2 & 3.3 Matplotlib Object Hierarchy
3.4 Interfaces for Creating Plots
3.5 plt.subplots() Function
3.6 Examples