Get your
own Python
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
f = open("D:\\myfiles\welcome.txt", "r") print(f.read())
x
f
=
open
(
"D:\\myfiles\welcome.txt"
,
"r"
)
print
(
f
.
read
())
Welcome to this text file!
This file is located in a folder named "myfiles", on the D drive.
Good Luck!