The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
382 B
19 lines
382 B
#!/usr/bin/env python3 |
|
|
|
import argparse |
|
import os |
|
|
|
|
|
def main() -> None: |
|
parser = argparse.ArgumentParser() |
|
parser.add_argument('dirname') |
|
args = parser.parse_args() |
|
|
|
with open(os.path.join(args.dirname, '1.txt'), 'w') as f: |
|
f.write('') |
|
with open(os.path.join(args.dirname, '2.txt'), 'w') as f: |
|
f.write('') |
|
|
|
|
|
if __name__ == "__main__": |
|
main()
|
|
|