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?
also
import other.py
is invalid, you mean:
import other
@ANDREWVOSS
How can I open a file based on user input?
In the code:
Is there any way I can import the filename that the user inputs?
also
is invalid, you mean:
@ANDREWVOSS