I am using this in Python 3.6:
filetest="test.txt"
with open(filetest,"r") as file:
How should I make Python console to display "File not available" as an output if no input on the filetest is detected? (such as there is no test.txt in the directory)