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
import glob | |
interesting_files = glob.glob("*.txt") | |
header_saved = False | |
with open('output.csv','w') as fout: | |
for filename in interesting_files: | |
with open(filename) as fin: | |
header = next(fin) | |
if not header_saved: |
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
print('Welcome to possum scream,inc.\nLoading...') | |
bodypart = str(input('Which bodypart? ')) | |
person = str(input('Who is talking? ')) | |
def scream(bodypart, person): | |
result = str('Correct! He Screm at Own Ass.\nAAAAAAAAA') | |
if bodypart == "ass" and person == "me": |