Easiest way to read/write a file’s content in Python December 28, 2022 by Tarik with open('x.py') as f: s = f.read() ***grins***