This course is an introduction to Python. It presumes no knowledge on the part of the viewer. I presume that you do not have any prior knowledge about programming in general or knowledge of data. This repo goes along with my 3-hour video on Python. If you watch the video in its entirety and follow along with the lessons at Python-Textbook.PythonHumanities.com, then you will be in a good position to begin working with Python on your own projects.
While this course was originally designed for humanists, it is equally valuable to anyone who is interested in getting started with Python. Below, you will find an outline for the course. Within this repo are Jupyter Notebooks. Each notebook correspondsd to a specific lesson.
- Introduction
- Introduction to Me
- Introduction to Course
- Introduction to the PythonHumanities.com
- Why Python?
- Programming Languages
- What is Python used for?
- How to Install Python
- Online Compilers
- What is Data?
- Strings
- Numbers
- Integers
- Floats
- Booleans
- String Methods
- Mathematical Operations
- Types of Division
- What are Data Structures?
- Lists
- Tuples
- Sets
- Dictionaries
- What are Loops?
- Why are Loops Useful?
- For Loops
- While Loops
- What are conditionals?
- If-Then
- What are Functions?
- When do we Use Functions?
- How do we Create Functions?
- How do we call Functions?
- What are Classes?
- When do we Use Classes?
- How do we Create Classes?
- How do we call Classes?
- Why Save Data?
- The with opereator
-
What are Libraries
-
Why are Libraries Useful
-
What is Tabular Data?
-
Pandas and the DataFrame
-
What is JSON?
-
Why is JSON important?
-
The Basics of the JSON Library
- What is Web Scrapping?
- Requests
- BeautifulSoup
- How to Find Data
- Extracting theh Data
- Saving the Data
- Loading Data in Excel
Lesson Number | Lesson Title |
---|---|
01.01 | Introduction to Python for DH |
01.02 | How to Install Python |
02.01 | Introduction to Data |
02.02 | Strings |
02.03 | Numbers (Integers and Floats) |
03.01 | Introduction to Data Structures |
03.02 | Lists, Tuples, and Sets |
03.03 | Dictionaries |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 |