登录社区云,与社区用户共同成长
邀请您加入社区
python -m pip install --upgrade pippython3 -m pip install --upgrade pip
升级pip
# Windows 运行 python -m pip install --upgrade pip # Linux 运行 python3 -m pip install --upgrade pip
安装jupyter
pip install jupyter
运行jupyter
jupyter notebook
新建编辑页面
编写Python代码
# coding: utf-8 print('我爱你中国,亲爱的母亲');
)]
运行Python代码
保存Python代码
在当前用户家目录下就会看到名为 demo.ipynb 的文件
为开发者提供按需使用的算力基础设施。
更多推荐
python中出现IndentationError:unindent does not match any outer indentation level错误
python中出现IndentationError:unindent does not match any outer indentation level今天在网上copy的一段代码,代码很简单,每行看起来该缩进的都缩进了,运行的时候出现了如下错误:【解决过程】1.对于此错误,最常见的原因是,的确没有缩进。根据错误提示的行数,去代码中看了下,看起来没有什么问题呀,都有缩进,而且语法也没
python enumerate用法总结
enumerate()说明enumerate()是python的内置函数enumerate在字典上是枚举、列举的意思对于一个可迭代的(iterable)/可遍历的对象(如列表、字符串),enumerate将其组成一个索引序列,利用它可以同时获得索引和值enumerate多用于在for循环中得到计数例如对于一个seq,得到:(0, seq[0]), (1, seq[1]), (2, seq[
git clone 出现fatal: unable to access ‘https://github 类错误解决方法
git clone 遇到问题:fatal: unable to access 'https://github.comxxxxxxxxxxx': Failed to connect to xxxxxxxxxxxxx将命令行里的http改为git重新执行。
扫一扫分享内容
所有评论(0)