summaryrefslogtreecommitdiffstats
path: root/test cases/cython/2 generated sources/generator.py
blob: 9b0d94a145f3ce7c47ab23b3006d27b9840c2636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3
# SPDX-License-Identifier: Apache-2.0

import argparse

parser = argparse.ArgumentParser()
parser.add_argument('input')
parser.add_argument('output')
args = parser.parse_args()

with open(args.input) as i, open(args.output, 'w') as o:
    o.write(i.read())