2020-09-16python开发环境搭建

本次教程使用python解释器 版本为 3.8.5

官网下载地址: https://www.python.org/

网盘下载地址: 链接:https://pan.baidu.com/s/14Z-4nyw-hCJz0-m83wESjg 提取码:2svm

安装动图

注意勾选 Add Python 3.X to PATH

python解释器安装.gif


测试安装是否成功

  1. 按 WIN+R

  2. 输入 CMD ,按回车

  3. 输入 python

  4. 出现Python窗口 则成功
    测试安装成功没有.gif

使用交互模式

输入

<pre class="prettyprint linenums prettyprinted" style="margin: 0px; border: 1px solid rgb(226, 226, 226) !important; padding: 8px 0px 6px; max-width: 100%; box-sizing: border-box; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(241, 239, 238); border-radius: 0px; overflow-y: auto; color: rgb(80, 97, 109); font-size: 10px; line-height: 12px; font-family: consolas, menlo, courier, monospace, "Microsoft Yahei" !important;">print('hello world')</pre>

打印hello world到控制台

输入

<pre class="prettyprint linenums prettyprinted" style="margin: 0px; border: 1px solid rgb(226, 226, 226) !important; padding: 8px 0px 6px; max-width: 100%; box-sizing: border-box; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(241, 239, 238); border-radius: 0px; overflow-y: auto; color: rgb(80, 97, 109); font-size: 10px; line-height: 12px; font-family: consolas, menlo, courier, monospace, "Microsoft Yahei" !important;">exit()</pre>

退出交互模式

安装编辑器 pycharm

简介

Pycharm 是 JetBrains 公司打造的一款Python IDE(集成开发工具)。 具备 调试、语法高亮、Project管理、代码跳转、智能提示、自动完成、单元测试、版本控制等功能, 可以帮助 开发人员 更快,好的完成工作。(工具用得好,下班走得早。)

下载

网盘下载: 链接:https://pan.baidu.com/s/1zZQBwiQnIypn9vEYDjhfjQ 提取码:x8ib

官网链接: https://www.jetbrains.com/pycharm/download/看个人喜好选择版本下载

image.png

安装动图

安装Pycharm动图.gif

激活: 重启软件,浏览器打开网址https://www.lanzous.com/b0ev9wx1g 密码:77ab 点击普通下载,打开txt全部复制粘贴到软件激活界面的 activation code

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容