initial commit

This commit is contained in:
2019-12-23 12:42:31 +08:00
parent 30458acfd8
commit 1ac6d0bb9c
22 changed files with 2126 additions and 1 deletions

15
lib/try.py Normal file
View File

@@ -0,0 +1,15 @@
def func(a, b, c, time=0, work=1):
print('a:{0} b:{1} c:{2}'.format(a, b, c))
print('time:{0} work:{1}'.format(time, work))
def funcwrap(func, kargs, kkargs):
func(*kargs, **kkargs)
kargs = [1, 2, 3]
kkargs = {
"time":1234,
"work":1232
}
funcwrap(func, kargs, kkargs)