In this article, I will read the text in the text file and print it on the screen.
Figure 1
file = open("D:\\person.txt", "r")
print(file.read())
I wish you happy coding days until we meet in the next article.
Dive into the world of Python programming with our comprehensive resources
About BAHADIR SAHIN
I am the founder of this blog site. I completed my graduation from ITU University with Bachelor’s Degree in Electronics and Communication Engineering and I also work as a software developer in a software company. I am interested in Python
What is Python? Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built ...
Dive Into The World Of Python Programming With Our Comprehensive Resources
No comments:
Post a Comment