So I'm trying to create a method that can search files and print them out.
def search():
searched = input("... ")
with open(searched + ".py", "r") as my_file:
print(my_file)
search()
but the console prints out <_io.TextIOWrapper name='RandomPrac.py' mode='r' encoding='UTF-8'> What does this mean?