0
What #open# should we use to read a txt file inside python.py ?
open("filename txt", "r")
2 odpowiedzi
0
txt file exist inside the project, but can't be found ,
# ..._ooo= open("file.txt" "r")
print(..._ooo.readable)
don't work
0
Use a comma to separate file name and mode.
'''
_ooo= open("file.txt","r")
print(_ooo.readable)
'''
And
"""
..._ooo= open("file.txt" "r")
"""
This is not a correct syntax.