#!/usr/bin/python3 with open('xyz.py', 'r', encoding='ascii') as f: for line in f: print(line, end='')