Hello World-從安裝到第一個程序

1. First of all, install python, I chose the latest version 3.7.0a2. 

    Download: https://www.python.org/downloads/mac-osx/

2. Run terminal with command python as below:

3. then you can type python command in terminal directly, as below:

4. exit() can exist python as below:

5. first program: hello world!

    method 1:

    run terminal and type python as below:

    method 2:

    new a document as below:

    then call a command in terminal as below:

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • This project was bootstrapped with Create React App. Belo...
    unspecx阅读 10,595评论 0 2
  • 《世界如此险恶》 世俗层面的心理强大有一个特征:一个人的心理就像一个收缩袋,碰到比他弱的人就使劲膨胀,碰到比他强的...
    琳小喵阅读 851评论 0 0
  • 高等游民 曾经感觉惆怅的在家门口看着立交桥下的车水马龙 曾经看着火车呼啸而过迷茫的看着这个世界 现在看来竟然是多么...
    helen1990_阅读 1,404评论 0 0