Python函数实例简单应用

                                 python

目录

                                 python


1.使用函数做参数传递
            def run(func):           //无参数
                   func()
            def run(func,a,b):     //确定参数
                   func(a,b)
            def run(func,a,*args):   //不确定参数个数
                   print(a)
                   func(*args)

2.

Linux环境下非root用户安装Python及相关库时的注意点和可能碰到的坑:
https://blog.csdn.net/Dream_angel_Z/article/details/51338546
安装pandas可能报错需要的文件:setuptools-2.0-py:(放在python27\lib\python2.7\site-packages下)

https://blog.csdn.net/w12345_ww/article/details/52291055

 

 

 

 

  

猜你喜欢

转载自blog.csdn.net/honey_babay/article/details/81448747
今日推荐