How to exit when using Python in Terminal (Mac)

Introduction

Nice to meet you! This is my first post. Post practice, write as a personal memo.

environment

macOS Catalina 10.15.5

Contents

Python is included in mac as standard and can be used from Terminal. I will describe how to start and end.

procedure

-How to get started Just launch terminal and type "python".

~$ python

-How to end You can exit python by typing ctrl + D. Alternatively, you can type exit ().

Recommended Posts

How to exit when using Python in Terminal (Mac)
How to develop in Python
How to auto-submit Microsoft Forms using python (Mac version)
How to retrieve multiple arrays using slice in python.
How to execute a command using subprocess in Python
How to take multiple arguments when doing parallel processing using multiprocessing in python
[Python] How to do PCA in Python
Precautions when using pit in Python
How to collect images in Python
How to use Mysql in python
How to wrap C in Python
How to use ChemSpider in Python
How to use PubChem in Python
How to handle Japanese in Python
When using regular expressions in Python
Things to keep in mind when using Python with AtCoder
Things to keep in mind when using cgi with python.
Things to watch out for when using default arguments in Python
[Introduction to Python] How to use class in Python?
How to access environment variables in Python
How to dynamically define variables in Python
How to do R chartr () in Python
[Itertools.permutations] How to put permutations in Python
How to prepare Python development environment [Mac]
Log in to Slack using requests in Python
How to get a stacktrace in python
How to erase Python 2.x on Mac.
How to display multiplication table in python
How to extract polygon area in Python
How to check opencv version in python
How to switch python versions in cloud9
How to use __slots__ in Python class
How to dynamically zero pad in Python
How to use regular expressions in Python
How to delete "(base)" that appears in the terminal when Anaconda is installed on Mac
How to display Hello world in python
How to use is and == in Python
How to write Ruby to_s in Python
How to generate a new loggroup in CloudWatch using python within Lambda
How to hide the command prompt when running python in visual studio 2015
How to deal with OAuth2 error when using Google APIs from Python
How to get a value from a parameter store in lambda (using python)
How to plot galaxy visible light data using OpenNGC database in python
How to write a string when there are multiple lines in python
How to start Python (Flask) when EC2 starts
How to use the C library in Python
How to receive command line arguments in Python
[REAPER] How to play with Reascript in Python
How to clear tuples in a list (Python)
How to generate permutations in Python and C ++
How to embed a variable in a python string
How to implement Discord Slash Command in Python
How to use Python Image Library in python3 series
How to create a JSON file in Python
Summary of how to use MNIST in Python
How to deal with SessionNotCreatedException when using Selenium
How to specify TLS version in python requests
How to get the files in the [Python] folder
How to use tkinter with python in pyenv
How to run Leap Motion in non-Apple Python
[Python] How to draw a histogram in Matplotlib