SnippetBank
Net
Python - Read A File
This simple code snippet shows how to open and read a file.
file =
open
(
"file.txt"
)
print
(
file.read
(
)
)
No comments:
Post a Comment
Newer Post
Older Post
Home
No comments:
Post a Comment