Skip to content

Commit 6a0b898

Browse files
committed
Python対話モードの起動時の表示内容はmacOS、Windows両方のバージョンを用意
1 parent 8cdb25e commit 6a0b898

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

source/python-setup/start-up-and-interpreter.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ macOSにはデフォルトでPython 2.7系がインストールされている
4949
$ python3.9
5050
```
5151

52-
上記コマンドを実行するとPythonの対話モードが起動し、画面が以下の状態になります。
52+
上記コマンドを実行するとPythonの対話モードが起動します。
53+
54+
macOSの場合、画面が以下の状態になります。
5355

5456
```python
5557
Python 3.9.7 (default, Sep 3 2021, 12:36:14)
@@ -58,6 +60,14 @@ Type "help", "copyright", "credits" or "license" for more information.
5860
>>>
5961
```
6062

63+
Windowsの場合、画面が以下の状態になります。
64+
65+
```python
66+
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32
67+
Type "help", "copyright", "credits" or "license" for more information.
68+
>>>
69+
```
70+
6171
`>>>`より右にPythonのコードを入力することができます。
6272

6373
```python

0 commit comments

Comments
 (0)