Skip to content

Commit

Permalink
Add convert.py
Browse files Browse the repository at this point in the history
  • Loading branch information
china-testing committed Apr 12, 2019
1 parent 7648dfd commit 903fc15
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions convert.py
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=' ')

0 comments on commit 903fc15

Please sign in to comment.