def file_ops(staticfied, args):
destination = args.o or args.output<EOL>if destination:<EOL><INDENT>with open(destination, '<STR_LIT:w>') as file:<EOL><INDENT>file.write(staticfied)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>print(staticfied)<EOL><DEDENT>
Write to stdout or a file