看板 PLT 關於我們 聯絡資訊
各位大大好 目前小弟正剛入門python語言 遇到了下列這問題 http://i.imgur.com/8goic0g.jpg 請各位幫幫忙 感恩~ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 39.12.229.36 ※ 文章網址: https://www.ptt.cc/bbs/PLT/M.1475491894.A.6B7.html
suhorng: Python 問題請轉文到 Python 板討論喔~ 10/04 09:15
suhorng: 先把檔案叫做 calc1.py, 然後在 bash 裡面輸入 python3 10/04 09:15
suhorng: 顯示 ">>>" 表示進入了 Python REPL, 此時 import calc1 10/04 09:15
suhorng: 然後就可以用 calcul = calc.Calculator() 了 10/04 09:16