+ 1
Which function is used to access files?
myfile = open("filename.txt")
5 Respuestas
+ 9
Which programming language are you talking about
+ 6
Santhosh S ,
> file handling is described in the python tutorials that are provided from sololearn.
> the following links can also help you. these are some short tutorials about file handling.
>>> be careful when testing and trying file operations. improper application of file operations can lead to data loss !!!
https://www.sololearn.com/learn/Python/2447/?ref=app
https://www.sololearn.com/learn/Python/2445/?ref=app
https://www.sololearn.com/learn/Python/2446/?ref=app
https://www.sololearn.com/learn/Python/2448/?ref=app
+ 2
Python language
+ 2
What's the relation of the queation with "sandy" in post tags ?
Tags has a different purpose in discuss forum. It's not for mentioning people, like in social medias.
https://code.sololearn.com/W3uiji9X28C1/?ref=app
0
With open("filename.txt", "r")as f:
f.read()