Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Java
- for
- DoM
- react
- mysql
- MacOS
- CSS
- javascript
- instruction
- Pipelining
- python
- DB
- DS
- Linux
- control
- github
- Algorithm
- XML
- web
- MIPS
- Class
- DATAPATH
- data structure
- php
- function
- html
- system
- architecture
- computer
- while
Archives
- Today
- Total
YYYEJI
[MacOS] Terminal에서 파이썬 실행 및 종료하기 본문
728x90
Command (⌘) + Space 를 누르고 Terminal에 접속해 주세요!
파이썬 버전에 맞춰서 아래 명령어를 입력해주면 파이썬이 실행됩니다.
$ python
$ python3
종료를 할 땐 두 가지 방법이 있습니다.
첫 번째 방법은 Ctrl+d를 누르면 python에서 빠져나옵니다.
두 번째 방법은 exit()를 입력하는 겁니다.
$ exit()
◡̈
'Python' 카테고리의 다른 글
[Python] 주석(Comment) 처리 (0) | 2022.09.23 |
---|---|
[Python] 변수의 정의와 선언 (0) | 2022.09.23 |
[Python] MacOS에서 Conda 사용하기 (0) | 2022.09.02 |
[Python] MacOS에서 Conda 설치하기 (0) | 2022.09.01 |
[Python] 맥(macOS) 터미널에서 .py 파일 실행시키기 (0) | 2022.08.04 |