Which function is used to access files? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Which function is used to access files?

myfile = open("filename.txt")

27th Mar 2023, 7:40 AM
Santhosh S
Santhosh S - avatar
5 Answers
+ 9
Which programming language are you talking about
27th Mar 2023, 7:49 AM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 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
27th Mar 2023, 3:12 PM
Lothar
Lothar - avatar
+ 2
Python language
27th Mar 2023, 7:56 AM
Santhosh S
Santhosh S - avatar
+ 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
27th Mar 2023, 10:17 AM
Ipang
0
With open("filename.txt", "r")as f: f.read()
27th Mar 2023, 5:32 PM
HÌGHTECH RITESH