我正在使用Ubuntu Xampp(Lampp),目前使用的是MongoDB 1.5.3驱动程序.
我需要降级到1.4.5,但是当重新安装降级的驱动程序时,它不会改变phpinfo().是的,我已经重新启动了Apache.
那么,如何卸载当前版本并安装降级版本?
>>> class Test(object):
>>> def test(self,*arg):
>>> print(arg[0],arg[1])
>>> p = Test()
>>> t = 2,3
>>> p.test(t)
Run Code Online (Sandbox Code Playgroud)
给我IndexError:元组索引超出范围
这是为什么?以及如何获得该元组的值?