Python3
Posté : ven. 15 déc. 2017 20:19
Bonsoir, j'ai lancer la commande sudo apt-get install python3, sa me met python3 is already the newest version (3.5.1-3).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 2 non mis à jour. je lance la commande python3 ou python 3, j'obtiens:
python 3
python: can't open file '3': [Errno 2] No such file or directory
seba@seb ~ $ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Si je tape python, j'obtiens:
python
Python 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Mais dans en haut du terminal ce n'est pas écrit python, sa reste sur seba@seb
En fait il y a les deux versions c'est sa ? Mais pourquoi n'y a t'il pas écrit python, en haut du terminal sa reste sur mon nom d’administrateur.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 2 non mis à jour. je lance la commande python3 ou python 3, j'obtiens:
python 3
python: can't open file '3': [Errno 2] No such file or directory
seba@seb ~ $ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Si je tape python, j'obtiens:
python
Python 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Mais dans en haut du terminal ce n'est pas écrit python, sa reste sur seba@seb
En fait il y a les deux versions c'est sa ? Mais pourquoi n'y a t'il pas écrit python, en haut du terminal sa reste sur mon nom d’administrateur.



