python_searching_a_file
This is an old revision of the document!
from sys import argv search_file = open("/etc/httpd/conf/httpd.conf", "r") for line in search_file: if "IncludeOptional" in line: print line search_file.close()
python_searching_a_file.1486026315.txt.gz · Last modified: 2024/05/23 07:26 (external edit)