open-textfile-in-python step 1: You should create a textfile step 2: save the file in .txt extension step 3: open idle shell excute the program.py step 4: run it