how to create an empty text file in python code example Example: python os make empty file open(x, 'a').close()