Using the code from exercise 15 of Learn Python the Hard Way (by Zed Shaw), code of which is
from sys import argv
script, filename = argv
txt = open(filename)
print "Here's your file %r:" % filename
print txt.read()
print "Type the filename again:"
file_again = raw_input("> ")
txt_again = open(file_again)
print txt.again.read()
I'm trying to run this using Powershell. I've been able to run every other exercise this way.
When I run python ex15.py ex15_sample.txt in Powershell, it doesn't prompt for user input like the previous few exercises, but instead just gives me a blank line.