argv Command Line Arguments and the re Module
Last updated
Last updated
argv[0]
- is by default the name of the application - application.py
from below
You would run this from the command line like this:
Search for things using regular expressions
The re.findall("string", text_variable)
returns a list of the times it found the string
Example: