python_searching_a_file
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| python_searching_a_file [2017/02/02 09:29] – luke7858 | python_searching_a_file [2017/02/02 09:29] (current) – luke7858 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| with open("/ | with open("/ | ||
| for line in search_file: | for line in search_file: | ||
| - | if 'IncludeO' in line: | + | if 'IncludeOptional' in line: |
| config_directory.append(line) | config_directory.append(line) | ||
| print config_directory[0] | print config_directory[0] | ||
| </ | </ | ||
python_searching_a_file.1486027740.txt.gz · Last modified: (external edit)
