Link Basic Python For Learning
===
**Lambda In Python**
https://hackmd.io/@chilton/SkaTNK44_
https://realpython.com/python-lambda/#map
https://www.programiz.com/python-programming/anonymous-function
**Week 2 Data Type**
https://hackmd.io/@chilton/H1ogw8NL_
**Week 3 Generator**
https://hackmd.io/@chilton/rJC4qLNId
**Week 4 Scrap HTML**
https://hackmd.io/@chilton/SkYBLI4L_
## Read a text file in Python
---
Example:
```
!wget https://raw.githubusercontent.com/anhquan0412/dataset/main/sample_text.txt
```
```
with open('sample_text.txt') as f:
sequences = []
for line in f:
sequences.append(line.strip())
```
## Regular Expression
---
Regular Expression might be overwhelming as you have to remember those wildcard characters and know how to apply them to our application. That's why there are a lot of resources for you to write and test our regular expression patterns. No matter what you do, to use regular expression well, you need to practice!
We can learn and practice regular expression using this website: https://regexone.com/lesson/introduction_abcs
And here is a tool to check our regular expression pattern https://regexr.com/