Skip to content

Commit e580246

Browse files
committed
update
1 parent 0e45ba2 commit e580246

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

deploy_util.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
### args
2+
```python
3+
import argparse
4+
5+
parser = argparse.ArgumentParser()
6+
parser.add_argument("-i",
7+
"--input_path",
8+
type=str,
9+
default='../data',
10+
help="path of directory of input file")
11+
12+
def main(args):
13+
print(args.input_path)
14+
15+
if __name__ == '__main__'
16+
args = parser.parse_args()
17+
main(args)
18+
```
19+
### multiprocessing pool
20+
### project config
21+
22+
[home](/index/)

index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ Good luck.
1414

1515
1. [file snippets](/file_util)
1616

17+
1. [deploy snippets](/deploy_util)
18+
1719
1. [random stackoverflow](/stackoverflow)
1820

21+

0 commit comments

Comments
 (0)