import os size = os.path.getsize('input.txt') size = os.path.getsize('/input.txt')