Cara Membaca TextFile di Python

with open('the-zen-of-python.txt') as f:
    contents = f.read()
    print(contents)
Code language: JavaScript (javascript)
Hurt Horse