美文网首页
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-從安裝到第一個程序

    1. First of all, install python, I chose the latest versi...

  • 愛上簡書

    通常情況下新生事物從瞭解到接受總有一個過程,尤其是在手機應用汎濫的今天。但是對於簡書這個應用,我從下載到安裝使用後...

  • VS Code - Programming C - task.j

    分享一個自用的gcc編譯配置文件,Windows 10系統安裝MinGW。VS Code安裝 Microsoft ...

  • 第二章-變量與循環

    第一個程序 上一章寫了第一個程序 Cells(1,1) = "Hello World" 然後計算機就向第一欄第一列...

  • 那天,她出嫁了

    丁酉年三月廿五。宜嫁娶。 從初遇到相識,從相知到相守。這就好像每個人都會走上這條路一樣,從獨立一個個體,和另外一個...

  • 人生怎麼走?

    有位木匠砍了一樹,把它做了木桶。 一個裝糞,就叫【糞桶】,眾人躲著。 一個裝水,就叫【水桶】,眾人用著。 一個裝酒...

  • 再一次想起了她

    剛從食物超市買了這個普通包裝的营养早餐 The Morning Food Co,是由多种烤堅果和水果乾製成。在大多...

  • AndroidStudio终端显示-iTerm2+zsh

    安裝 iTerm2 修改 iTerm2 的 color scheme 安裝 powerline font 安裝 z...

  • 你可能從沒發現過有錢人的7件事

    1.第一個一百萬最困難 為什麼?這是因為當一個人要從無到有,從頭開始賺到一百萬,它需要的是知識、技巧,你必須要知道...

  • Carthage 小技巧

    使用 Carthage 安裝其他 Framework, 在安裝完後必須使用手動拖入 Framework. 安裝後可...

网友评论

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

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