b a r s l i n k l i n k f l a t Skip to content
Texas A&M University
  • Back to TAMIDS Homepage
Texas A&M Logo
Texas A&M Institute of Data ScienceTraining & Professional Development
  1. Biomedical Data Science
    • Data Science Primer
    • Python Primer
    • R Primer
  2. Professional Training
Texas A&M University
Texas A&M Logo
Texas A&M Institute of Data ScienceTraining & Professional Development
Biomedical Data Science Professional Training
  • Back to TAMIDS Homepage
Search
Data Science Primer
Python Primer
R Primer

Python Primer

This primer comprises a sequence of instructional videos and Python notebooks covering how to install Python and several integrated development environments and an introductory guide to the Python language. 

The table of contents below provides links to open the notebooks in Google Colab (from which they can also be downloaded), and to open the videos in the TAMIDS YouTube channel. 

This primer was created by Matt Hielsberg with support from Texas A&M Institute of Data Science and the Texas A&M University Department of Mathematics.

  1. Home
  2. Python Primer

Quick Start Guide for Learning Python Without Any Software Installation

  • Obtain a Google account if you don’t already have one; this is needed to run Google Colab. When opening each notebook, you may need to agree to run the content when prompted by Colab.
  • Skip down below to the Python Language Guide and start at Chapter 4

Learning Objectives For This Python Primer

  • Learn about objects, classes and inheritance, including multiple inheritance.
  • Learn where to find tutorials, documentation on Python as well as community developed packages.
  • Use comments and learn how to incorporate them into the help system.
  • Write and evaluate expressions using variable names.
  • Use basic data structures including strings, lists, tuples, sets, and dictionaries, among others.
  • Understand and use various control flow mechanisms, including looping, functions and exceptions.
  • Write functions, understand return values and argument lists, including positional and keyword arguments.
  • Understand binding and copies, as well as interning/small integer caching.
  • Learn about name resolution, blocks, scope and name spaces.
  • Find and use modules and packages.
Chapter 1

Background and Installation

Python Systems and Installation Guide
Section 1.1

Background and Installation

  • Notebook/Colab
  • Video (3:32)
Chapter 2

Getting Started with Python Interpreter

Python Systems and Installation Guide
Section 2.1

Interpreter

  • Notebook/Colab
  • Video (5:25)
Section 2.2

Scripts

  • Notebook/Colab
  • Video (10:08)
Section 2.3

Guidelines

  • Notebook/Colab
  • Video (4:21)
Chapter 3

Getting Started with Jupyter

Python Systems and Installation Guide
Section 3.1

Colab

  • Notebook/Colab
Section 3.2

Jupyter

  • Notebook/Colab
Chapter 4

Introduction

Python Language Guide
Section 4.1

Help, Docstrings, & Comments

  • Notebook/Colab
  • Video (7:06)
Section 4.2

Calculator

  • Notebook/Colab
  • Video 1 (4:23)
  • Video 2 (3:15)
Section 4.3

Comparison, Logical and Bitwise Operators

  • Notebook/Colab
  • Video (13:30)
Section 4.4

Variables

  • Notebook/Colab
  • Video (6:09)
Section 4.5

Strings

  • Notebook/Colab
  • Video 1 (8:37)
  • Video 2 (3:01)
  • Video 3 (5:46)
  • Video 4 (4:08)
Section 4.5

Lists

  • Notebook/Colab
  • Video 1 (1:21)
  • Video 2 (2:41)
  • Video 3 (4:43)
  • Video 4 (5:43)
Chapter 5

Control Flow

Python Language Guide
Section 5.1

Blocks, Indention

  • Notebook/Colab
  • Video 1 (3:36)
  • Video 2 (6:19)
  • Video 3 (10:07)
  • Video 4 (7:45)
Section 5.2

Looping Techniques and Conditions

  • Notebook/Colab
  • Video 1 (6:45)
  • Video 2 (4:14)
Section 5.3

Functions

  • Notebook/Colab
  • Video 1 (2:37)
  • Video 2 (3:39)
  • Video 3 (12:08)
  • Video 4 (3:41)
Section 5.4

Exceptions

  • Notebook/Colab
  • Video 1 (4:17)
  • Video 2 (11:25)
  • Video 3 (2:14)
  • Video 4 (5:20)
Section 5.5

Short-Circuit Evaluation

  • Notebook/Colab
  • Video (2:47)
Chapter 6

Data Structures

Python Language Guide
Section 6.1

Lists Revisited

  • Notebook/Colab
  • Video 1 (8:24)
  • Video 2 (17:00)
Section 6.2

Stacks and Queues

  • Notebook/Colab
  • Video (3:57)
Section 6.3

Tuples

  • Notebook/Colab
  • Video (5:43)
Section 6.4

Sets

  • Notebook/Colab
  • Video (8:32)
Section 6.5

Dictionaries

  • Notebook/Colab
  • Video (9:35)
Chapter 7

Names

Python Language Guide
Section 7.1

Objects

  • Notebook/Colab
  • Video (7:41)
Section 7.2

Assignments Copies

  • Notebook/Colab
  • Video (8:27)
Section 7.3

Small Integer Caching

  • Notebook/Colab
  • Video (5:43)
Section 7.4

Name Resolution

  • Notebook/Colab
  • Video (14:10)
Section 7.5

Modules Packages

  • Notebook/Colab
  • Video (9:37)
Chapter 8

Classes

Python Language Guide
Section 8.1

Classes – Inheritance

  • Notebook/Colab
  • Video 1 (10:39)
  • Video 2 (8:15)
On This Page
  • Quick Start Guide for Learning Python Without Any Software Installation
  • Learning Objectives For This Python Primer
  • Background and Installation
  • Getting Started with Python Interpreter
  • Getting Started with Jupyter
  • Introduction
  • Control Flow
  • Data Structures
  • Names
  • Classes
  • Quick Start Guide for Learning Python Without Any Software Installation
  • Learning Objectives For This Python Primer
  • Background and Installation
  • Getting Started with Python Interpreter
  • Getting Started with Jupyter
  • Introduction
  • Control Flow
  • Data Structures
  • Names
  • Classes
Texas A&M Logo
Texas A&M Institute of Data ScienceTraining & Professional Development
  • © 2024 Texas A&M University
  • Site Policies
  • Accessibility