![]() |
1
wlxz OP 出发点为: 在不可知数 多查询条件下,怎么用 torndo 进行查询
自己研究了一下,用**kwargs 方式解决了, |
![]() |
2
wlxz OP 原题答案如下:
def bar(*args): print(type(args)) print(args) t = ('1','2','3') bar(*t) 参考: https://stackoverflow.com/questions/5710391/converting-python-dict-to-kwargs |