Exécuter une application python directement en console python ?
Résolu
xunil2003
Messages postés
830
Statut
Membre
-
georges97 Messages postés 20321 Statut Contributeur -
georges97 Messages postés 20321 Statut Contributeur -
Bonjour,
Je voudrai savoir comment exécuter une application python directement en console python ?
J'utilise un pc Linux kubuntu 14.04 x64.
Le fichier que je désire executer est : test.py
Merci.
Je voudrai savoir comment exécuter une application python directement en console python ?
J'utilise un pc Linux kubuntu 14.04 x64.
laurent@laurent-amd:~/Laurent/python/test$ python
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> python test.py
File "<stdin>", line 1
python test.py
^
SyntaxError: invalid syntax
>>>
Le fichier que je désire executer est : test.py
Merci.
A voir également:
- Lancer un programme python depuis le terminal linux
- Commande terminal mac - Guide
- Lancer un programme au démarrage windows 10 - Guide
- Programme demarrage windows - Guide
- Citizen code python avis - Accueil - Outils
- Ce programme est écrit en python il construit un mot secret ✓ - Forum Python