Debian Codegraph @

test cases/common/69 configure file in custom target/src/mycompiler.py

raw
1 #!/usr/bin/env python3
2
3 import sys
4
5 with open(sys.argv[1]) as ifile:
6 if ifile.readline().strip() != '42':
7 print('Incorrect input')
8 with open(sys.argv[2], 'w') as ofile:
9 ofile.write('Success\n')