For some reason despite having the file in the main and in the same directory, I keep getting the no such file error. Any help is appreciated.
import time
def firstQues():
print('"TT(Announcing): HONING IN FROM SU CASA CUIDAD, (Their hometown)"')
time.sleep(3)
print('"VEN EL UN.....(Comes the one.....)"')
time.sleep(2)
print('"EL SOLO......(The ONLY.....)"')
time.sleep(3)
print('"Campeón NOVATO (NEWBIE CHAMP)"')
print()
text_file = open("Questions1.txt", "r")
wholefile = text_file.readline()
for wholefile in open("Questions1.txt"):
print(wholefile)
return wholefile
return text_file
def main():
firstQues()
text_file = open("Questions1.txt", "r")
main()