![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
iapple-sysu
这个作者很懒,什么都没留下…
展开
-
Python函数回调
Python函数回调简单举例: deffunc(caller): a=1 b=2 summer=caller(a,b) print(summer) defadd(a,b): returna+b if__name__=="__main__": func(add)原创 2021-03-03 17:43:31 · 108 阅读 · 1 评论 -
Pycharm unresolved reference问题
使用Pycharm编辑.py代码时,偶会发现提示"unresolved reference"、"cannot find reference xxx in xxx"等信息。 出现这个提示也许不会影响正常运行,但看着红波浪线就别扭,这个原因是由于python第三方库没有同步至最新版本导致的。 可以在settings里查看有哪些可用更新并更新。 也可以直接用pip命令查看更新信息:pip list...原创 2019-12-13 15:24:10 · 615 阅读 · 0 评论