![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 59
uu2ww2
努力提升 准备逃离
展开
-
pycharm + anaconda环境搭建
1. 不要单独下载Python版本。2. 下载安装anacondaanaconda是Python的一个虚拟环境包包含了python,以及其他常用的数据分析, 以及机器学习的包。 参考链接:https://blog.csdn.net/qq_18424081/article/details/85856713 最好两个都勾选上去。3. pycharm 选择anaconda作为虚拟环境4. 配置镜像...原创 2022-04-01 00:17:23 · 1417 阅读 · 0 评论 -
转载--安装numpy+mkl 教程
https://blog.csdn.net/sinat_26933727/article/details/68953193https://blog.csdn.net/weixin_38917807/article/details/81675233https://zhidao.baidu.com/question/1948316848099811948.html 下载地址:http...转载 2019-02-16 22:05:26 · 2360 阅读 · 0 评论 -
Python问题:UnboundLocalError: local variable 'xxx' referenced before assignment
https://www.cnblogs.com/zhaijiahui/p/8398480.html转载 2019-01-27 13:07:54 · 1666 阅读 · 0 评论 -
Python 图像识别 --转载
https://blog.csdn.net/tonghua1116/article/details/54670155#commentBoxhttps://www.cnblogs.com/FHC1994/p/9123393.html转载 2019-01-26 00:53:00 · 767 阅读 · 0 评论 -
python print(xx, flush = True) 全网最清晰的解释
原理: print() 函数会把内容放到内存中, 内存中的内容并不一定能够及时刷新显示到屏幕中(应该是要满足某个条件,这个条件现在还不清楚)。 使用flush=True之后,会在print结束之后,不管你有没有达到条件,立即将内存中的东西显示到屏幕上,清空缓存。 使用场景:1.尤其是在while循环中,要想每进行一次while循环体,在屏幕上更新打印的内容就得使用flus...原创 2019-01-26 00:21:57 · 30668 阅读 · 1 评论 -
在cmd窗口中, 执行多条python语句。
1. 键入python2. 如果需要导入模块或者类, from xxx import xxx ps: 文件的名字是不用带.py后缀的 如果是import xx. 在使用xx文件中的变量或类的时候, 需要xx.varName 或 xx.className 如果觉得费事,可以from xxx import *3...原创 2019-01-20 17:04:37 · 5879 阅读 · 0 评论 -
转载--如何简单地理解Python中的if __name__ == '__main__'
原文出处:https://blog.csdn.net/yjk13703623757/article/details/779186331. 摘要通俗的理解__name__ == '__main__':假如你叫小明.py,在朋友眼中,你是小明(__name__ == '小明');在你自己眼中,你是你自己(__name__ == '__main__')。if __name__ == '__m...转载 2019-01-20 13:51:06 · 161 阅读 · 0 评论 -
python easyinstall pip pillow安装
1. 安装python之后,默认携带C:\Users\Administrator\AppData\Local\Programs\Python\Python36\Scripts\easy_install.exe2. 打开cmd窗口,进入C:\Users\Administrator\AppData\Local\Programs\Python\Python36\Scripts3. 执行: ....原创 2019-01-25 00:24:45 · 399 阅读 · 0 评论 -
pyautogui
安装: https://www.cnblogs.com/SH170706/p/9809830.htmlsetuptools:https://www.cnblogs.com/katios/p/5321491.html with open() as:https://www.cnblogs.com/ymjyqsx/p/6554817.htmlfrom importhttp...原创 2019-01-24 00:53:37 · 302 阅读 · 0 评论