<human>:  creating a tmp file in python
<bot>: Here is some code to open a file `path/to/FILE_NAME.ext` in write mode

new_file = open('path/to/FILE_NAME.ext', 'w')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.