回答編集履歴
2
追記
answer
CHANGED
@@ -12,4 +12,18 @@
|
|
12
12
|
[GCC 4.8.4] on linux
|
13
13
|
Type "help", "copyright", "credits" or "license" for more information.
|
14
14
|
>>>
|
15
|
-
```
|
15
|
+
```
|
16
|
+
|
17
|
+
### 追記
|
18
|
+
こうするらしい。
|
19
|
+
|
20
|
+
```python
|
21
|
+
$ python
|
22
|
+
...(省略)
|
23
|
+
>>> import platform
|
24
|
+
>>> print(platform.python_implementation())
|
25
|
+
CPython
|
26
|
+
```
|
27
|
+
|
28
|
+
参考にしたページ(python3系ではそのまま動きません):
|
29
|
+
[How to know if a Python interpreter is a CPython implementation - Quora](https://www.quora.com/How-do-I-know-if-a-Python-interpreter-is-a-CPython-implementation)
|
1
修正
answer
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> また、それをターミナルのコマンドなどから目視で確認する方法はあるのでしょうか?
|
6
6
|
|
7
|
-
とりあえず、pythonと打ち込むといきなり多少情報が出てきます。こんな感じで(環境によって違います。
|
7
|
+
とりあえず、pythonと打ち込むといきなり多少情報が出てきます。こんな感じで(環境によって違います)。
|
8
8
|
|
9
9
|
```python
|
10
10
|
$ python
|