前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Python从入门到放弃(Mac) -

Python从入门到放弃(Mac) -

作者头像
py3study
发布2020-01-08 15:50:08
4030
发布2020-01-08 15:50:08
举报
文章被收录于专栏:python3python3

1. First of all, install python, I chose the latest version. Download: https://www.python.org/downloads/mac-osx/ 首先安装啦,下载地址如左

2. Run terminal with command python as below: 然后打开你的终端,不知道在哪里就在launchpad搜索terminal然后固定在dock吧

3. Then you can type python command in terminal directly, as below: 然后你就可以在终端直接敲python命令啦,如下直接用python进行简单的计算

4. Exit() can exist python as below: 退出的方式如下:

5. First program: hello world! 你的第一个python hello world

    method 1: 方法1,直接在终端直接敲python代码,然后直接执行

    run terminal and type python as below:

method 2: 方法2,新建python文档

(先出去逛吃逛吃,今天有空回来再更~)

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019-09-08 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档