Delete Python file specific keyword