blob: e28373a3930d157f8d150893ce7559645adacf3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/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()
|