We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 627bdcf commit 26074d7Copy full SHA for 26074d7
filehandling.py
@@ -0,0 +1,7 @@
1
+# program to open ,read and close the file
2
+
3
+name = input("enter the file name :") # taking address
4
+f = open(name) # opening the file
5
+a= f.read()
6
+print(a) # reading the file
7
+f.close() # closing the file
0 commit comments