何时使用*和**作为python函数中的函数参数(When to use * and ** as a function argument in python function)
我什么时候可以在Python函数的参数中传递
*
和**
? 即:def fun_name(arg1, *arg2 , ** arg3):
When can I pass
*
and**
in the argument of a Python function? i.e.:def fun_name(arg1, *arg2 , ** arg3):
原文:https://stackoverflow.com/questions/3734720
更新时间:2023-02-23 21:02
最满意答案
添加第二个和第三个参数如下,它应该工作。
<script>window.open('add_game.php','new', 'toolbars=0,width=400,height=320,left=200,top=200,scrollbars=1,resizable=1')</script>
Add the 2nd and 3rd parameters as follows and it should work.
<script>window.open('add_game.php','new', 'toolbars=0,width=400,height=320,left=200,top=200,scrollbars=1,resizable=1')</script>
相关问答
更多-
我在网上找到了这个解决方案,希望它能帮到你。 do var win = window.open(); 在回调函数之前,然后在.success里面,通过执行win.location = url;更改win.location = url; 。 这应该可以解决问题。 I found this solution online, hope it will help you. do var win = window.open(); before the callback function, then inside .s ...
-
添加第二个和第三个参数如下,它应该工作。 Add the 2nd and 3rd parameters as follows and it should work.