LoginSignup
2
4

More than 3 years have passed since last update.

TerminalでPython使ったときの終了の仕方(Mac)

Last updated at Posted at 2020-07-14

はじめに

はじめまして!初めての投稿です。
投稿練習、自分用メモとして書きます。

環境

macOS Catalina 10.15.5

内容

macには標準でpythonが入っていて、Terminalから使うことができます。
起動の仕方と終了の仕方を記します。

手順

  • はじめ方
    terminalを立ち上げて、"python"と入力するだけです。
~$ python
  • 終わり方
    ctrl + Dと入力するとpythonから抜けられます。
    または、exit() あるいは quit() と入力してもOKです。
2
4
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4