Học Python cơ bản
This course has been created by Professor Charles Severance from the University of Michigan.
Learn to Program and Analyze Data with Python. Develop programs to gather, clean, analyze, and visualize data.
Link: https://www.py4e.com/lessons
Textbook: PDF / EPUB
Instructions
Chỉ cần hoàn thiện đến bài: Regular Expressions là được. Còn lại là tùy chọn.
Course Materials
- Variables, expressions and statements
- Conditional Execution
- Functions
- Loops and Iterations
- Strings
- Files
- Lists
- Dictionaries
- Tuples
- Regular Expressions
- Network Programming (Optional)
- Using Web Services (Optional)
- Object-Oriented Programming (Optional)
- Databases (Optional)
- Data Visualization (Optional)
Fixes
- If you’re doing the BeautifulSoup4 lesson, there is an issue with Python 3.10+ that will give you an error referencing the Collections library. We have a fix for you. We don’t expect you to understand it, just put this in front of your code in the imports block:
import collections
collections.Callable = collections.abc.Callable
from bs4 import BeautifulSoup
Doing this should fix the compatibility issue and allow your code to run.