Python Programming Course at RTU Fall 2020, also Spring 2021, Spring 2022, Fall 2024, Spring 2025, Spring 2026.
This repository contains lecture notebooks, examples, exercises, data files, and project material for a general Python course. The course is suitable for students who are new to programming, while also giving students with previous JavaScript or web development experience a bridge into Python, notebooks, data analysis, and text processing.
Binder can also be used to run Jupyter notebooks in the cloud.
The repository is organized mostly as Jupyter notebooks. The list below groups the available notebooks by topic.
- Python_Introduction.ipynb - broad Python introduction.
- Python_Variables_and_Data_Types.ipynb - introductory variables and data types notebook.
- Python_Functions.ipynb - introductory functions notebook.
- Using Libraries and Notebooks.ipynb - using notebooks and external libraries.
- Python Learning Resources.ipynb - notebook version of learning resource links.
- core/Jupyter Tips.ipynb - useful Jupyter commands and notebook tips.
- core/Python Variables and Data Types.ipynb - variables, arithmetic, and built-in data types.
- core/Python_Variables_and_Data_Types.ipynb - alternate variables and data types notebook.
- core/Python Strings.ipynb - string basics and operations.
- core/Python_Strings.ipynb - alternate strings notebook.
- core/Python Lists.ipynb - list basics and list exercises.
- core/Python_Lists_and_Tuples.ipynb - lists and tuples.
- core/Tuples.ipynb - tuple data structure examples.
- core/Python Dictionaries.ipynb - dictionaries and dictionary use cases.
- core/Python_Dictionaries.ipynb - alternate dictionaries notebook.
- core/Python Sets.ipynb - sets and set operations.
- core/Python_Sets.ipynb - alternate sets notebook.
- core/Python Flow Control.ipynb - booleans, comparison, and control flow.
- core/Python_Flow_Control.ipynb - alternate flow control notebook.
- core/Python_Loops.ipynb - while loops, for loops, break, and related loop patterns.
- core/Python Functions.ipynb - functions, arguments, return values, and function design.
- core/Python_Functions.ipynb - alternate functions notebook.
- core/Python Classes.ipynb - object-oriented programming, abstraction, and inheritance.
- core/Python_Classes.ipynb - alternate classes notebook.
- core/Python Standard Library.ipynb - selected modules from the Python standard library.
- core/Python_Standard_Library.ipynb - alternate standard library notebook.
- core/Python_Modules_Packages_External_Libraries.ipynb - modules, packages, and external libraries.
- core/Python File IO.ipynb - reading and writing text files.
- core/Python_File_IO.ipynb - alternate file I/O notebook.
- core/Python File Operations 2 Binary Files and Pickle.ipynb - binary files and pickle.
- core/MyMod.ipynb - module examples.
- core/RunOtherNotebooks.ipynb - running notebooks from other notebooks.
- libraries/Installing Libraries from Jupyter directly.ipynb - installing libraries from inside Jupyter.
- libraries/SentenceSplitter.ipynb - sentence splitting example.
- libraries/SpacyQuick.ipynb - quick spaCy example.
- core/Practice_1.ipynb - core Python practice notebook.
- exercises/Practical Exercises.ipynb - practical exercises.
- homework/FileFilter.ipynb - homework task for filtering text files.
- Pandas/Python Pandas Tutorial.ipynb - pandas tutorial with Series and DataFrame examples.
- Pandas/Python_Pandas_Tutorial.ipynb - alternate pandas tutorial.
- Pandas/Pandas_Downloading_Data.ipynb - downloading data for pandas workflows.
- Pandas/100-pandas-puzzles.ipynb - pandas practice puzzles.
- Titanic/Exploratory Data Analysis with Titanic Dataset.2020.ipynb - Titanic dataset exploratory analysis.
- Titanic/Exploratory Data Analysis with Titanic Dataset.05.2020.ipynb - alternate Titanic dataset exploratory analysis.
- nlp/NLTK_Introduction.ipynb - NLTK introduction.
- nlp/NLTK Introduction (with output).ipynb - NLTK introduction with saved output.
- nlp/NLTK - Using NLTK Corpora.ipynb - using NLTK corpora.
- nlp/NLTK - Using NLTK Corpora (with output).ipynb - NLTK corpora notebook with saved output.
- nlp/NLTK - Statistics.ipynb - word frequency and text statistics.
- nlp/NLTK - Statistics (with output).ipynb - text statistics notebook with saved output.
- nlp/NLTK - Collocations and Bigrams.ipynb - collocations and n-grams.
- nlp/NTLK - Categorizing and Tagging Words.ipynb - categorizing and tagging words.
- nlp/topic_nlp_techniques.ipynb - overview of NLP techniques.
- nlp/topic_nlp_techniques_LV.ipynb - Latvian overview of NLP techniques.
- nlp/Project Ideas.ipynb - NLP and programming project ideas.
- visualization/Word_Frequency.ipynb - word frequency visualization example.
- visualization/Mandelbrot.ipynb - Mandelbrot visualization example.
- final_group_project/DH_Final_Project_Worked_Example_Text_Analysis.ipynb - worked digital humanities text analysis project example.