This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def sanitize_text(): | |
total_text = [] | |
# Regex split to strip non-alphanumeric characters | |
for line in fileinput.input(): | |
line.casefold() | |
words = [x for x in re.split("\W",line) if x] | |
total_text += words | |
return total_text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cdrom | |
lang en_US.UTF-8 | |
keyboard us | |
network --bootproto=dhcp | |
network --device=ens33 --onboot=yes | |
rootpw --iscrypted $1$v4K9E8Wj$gZIHJ5JtQL5ZGZXeqSSsd0 | |
firewall --enabled --service=ssh | |
selinux --disabled | |
timezone UTC | |
bootloader --location=mbr |