I am totally lost on the next four questions in Study Drills for EX15 in Learn Python 3 the Hard Way.
#4 - Do I get rid of all lines between ##10-15, or only those lines in that section that contain the input() function?
#5 - Use only input and try the script that way. I am not sure what you mean by “only input()” “only input() as opposed to what?” I am not sure what your unsaid text is.
#5 - Why is one way of getting the filename better than another? I have no idea what this is about.
#6 - Start python 3.6 (3.7) to start python 3.6 shell. Here is what I get when I try to run open()function
Last login: Sun Mar 31 09:59:56 on ttys003
Lowells-MBP:~ lowellcopeland$ python3
Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43)
[Clang 6.0 (clang-600.0.57)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
NameError: name ‘ex15_sample’ is not defined
#7 - print(txt.close())
#7 - print(txt_again.close())