filmov
tv
What Are Python Regular Expressions Useful For? - 3 Example Scripts From Scratch

Показать описание
In this video, we'll write 3 python scripts from scratch that show how you can do useful things with regular expressions:
1) The first example will show how regular expressions can be used to selectively update prices for certain items in a file of inventory data stored in json. The model numbers that need to be updated share a common pattern, so we can match all of them using a specific regular expression.
2) The second example will show how we can write a Python script inline inside a shell script that reads data from /proc/meminfo. The python code we write will use a regular expression to match specific lines this memory information, and then print out only those lines.
3) The third example will show how to use the 'requests' python module along with a regex to solve a very basic web scraping task that will extract titles from a web page.
SOCIALS
----------------
1) The first example will show how regular expressions can be used to selectively update prices for certain items in a file of inventory data stored in json. The model numbers that need to be updated share a common pattern, so we can match all of them using a specific regular expression.
2) The second example will show how we can write a Python script inline inside a shell script that reads data from /proc/meminfo. The python code we write will use a regular expression to match specific lines this memory information, and then print out only those lines.
3) The third example will show how to use the 'requests' python module along with a regex to solve a very basic web scraping task that will extract titles from a web page.
SOCIALS
----------------
[5 Minute Tutorial] Regular Expressions (Regex) in Python
Regular Expressions in Python || Python Tutorial || Learn Python Programming
Regular Expression Tutorial Python | Python Regex Tutorial
Python Tutorial: re Module - How to Write and Match Regular Expressions (Regex)
Regular Expressions (RegEx) in 100 Seconds
Regular Expressions in Python
Regular Expressions in Python | Python Tutorial - Day #95
Regular Expressions in Python - FULL COURSE (1 HOUR) - Programming Tutorial
Easy Python course tutorials session 549
Regular Expression Methods in Python
Regex Tutorial Deutsch - Regex einfach erklärt! (regex101, regex Tester, Python, Javascript etc.)
Regular Expressions in Python | Regular Expressions Python Tutorial
Regular Expressions In Python | Python Regular Expressions Tutorial | Python Tutorial | Simplilearn
Python Regular Expressions - Regex In Python - How To Define Search Patterns And More
Python Regular Expressions - Computerphile
regular expression in #python (regex) #coding
Regular Expressions (Regex) Tutorial: How to Match Any Pattern of Text
Regular Expressions in Python | Python Regular Expressions Tutorial | Python | Intellipaat
CS50P - Lecture 7 - Regular Expressions
Python RegEx | Python Regular Expressions Tutorial | Python Tutorial | Python Training | Edureka
Regular Expression (RegEX) in Python - Complete Tutorial
Mastering Python REGEX: Learn how to use findall() for Numbers we RE #techeducation #python101
Python - Regular Expressions
Python Regular Expressions (RegEx) | Regular Expressions In Python | Python Tutorial | Simplilearn
Комментарии