How can I open a file based on user input?
In the code:
inF = open(input("Enter Filename: "),'r') import inF inF
Is there any way I can import the filename that the user inputs?
Answered by Coder100 (8320) [earned 5 cycles]
As far as I know, you can't. I'm interested to know why you want to do this? What are you trying to make?