
python
Cherry_Song_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Python学习笔记
Python学习笔记基本语法字符串操作upper() 方法count()方法列表操作index()方法append方法reverse()方法数学公式角度转弧度: math.radians基本语法字符串操作upper() 方法将某个字符串变为大写place.upper()count()方法计算某个字符串、列表里某个特定字符、字符串或数字的数目place.count('o')列表操作...原创 2018-10-29 21:48:10 · 197 阅读 · 0 评论 -
Python图形用户界面入门
说明:本文主要参考traitsUI教程:http://docs.enthought.com/traitsui/tutorials/traits_ui_scientific_app.html#getting-threads-and-the-gui-event-loop-to-play-nice前期准备pip install traits 安装traits包pip install trai...翻译 2018-11-21 09:33:48 · 290 阅读 · 0 评论 -
python3安装tensorflow-gpu报错Cannot uninstall 'six'. It is a distutils installed project and thus we can
安装python3中的tensorflow-gpu时,报错:Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial u在网上查资料,...原创 2018-12-26 14:33:33 · 752 阅读 · 0 评论 -
Python报错TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
问题1:TypeError: unsupported operand type(s) for -=: ‘Retry’ and 'int在Ubuntu系统上运行pip命令(如 pip install xx)时,报错ImportError: cannot import name ‘main‘。解决办法根据博客描述,问题是镜像源的问题。解决方法为将pip源更改至国内镜像。可参考博文1和博文2解决。...原创 2019-05-03 14:20:56 · 9146 阅读 · 2 评论