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