摘要: 1、打开终端输入 pip3 install jupyter 如果安装过程中速度很慢可以使用国内pip镜像配置: 1.1 pip官方软件源 官方源 https://pypi.python.org/simple 1.2 常用国内镜像源 阿里云 http://mirrors.aliyun.com/pypi 阅读全文
posted @ 2020-04-19 11:23 幸福就这么简单 阅读(21185) 评论(0) 推荐(1)
摘要: #!/usr/bin/python # -*- coding: UTF-8 -*- str = 'Hello World!' print str # 输出完整字符串 print str[0] # 输出字符串中的第一个字符 print str[2:5] # 输出字符串中第三个至第五个之间的字符串 pr 阅读全文
posted @ 2020-04-19 09:51 幸福就这么简单 阅读(183) 评论(0) 推荐(0)
摘要: 字符串截取操作#!/usr/bin/python # -*- coding: UTF-8 -*- str = 'Hello World!' print str # 输出完整字符串 print str[0] # 输出字符串中的第一个字符 print str[2:5] # 输出字符串中第三个至第五个之间 阅读全文
posted @ 2020-04-19 09:46 幸福就这么简单 阅读(35) 评论(0) 推荐(0)