美文网首页
Hello World-從安裝到第一個程序

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

作者: 风间晴 | 来源:发表于2017-11-19 20:38 被阅读3次

    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:

    相关文章

      网友评论

          本文标题:Hello World-從安裝到第一個程序

          本文链接:https://www.haomeiwen.com/subject/xxdpvxtx.html