forked from china-testing/bazi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7648dfd
commit 903fc15
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# Author: 钉钉或微信pythontesting 钉钉群21734177 技术支持qq群:630011153 144081101 | ||
# CreateDate: 2019-2-21 | ||
|
||
import argparse | ||
|
||
description = ''' | ||
''' | ||
parser = argparse.ArgumentParser(description=description, | ||
formatter_class=argparse.RawTextHelpFormatter) | ||
parser.add_argument('gans', action="store", help=u'天干') | ||
parser.add_argument('zhis', action="store", help=u'地支') | ||
parser.add_argument('--version', action='version', | ||
version='%(prog)s 0.1 Rongzhong xu 2019 4 12 钉钉或微信pythontesting') | ||
options = parser.parse_args() | ||
|
||
for item in zip(options.gans, options.zhis): | ||
print("".join(item), end=' ') | ||
|