View previous topic :: View next topic |
Author |
Message |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Thu Jul 07, 2011 4:16 pm Post subject: [Python] Erreur de syntaxe près du symbole inattendu(résolu) |
|
|
Bonjour,
Un script Python avec les droits d'exécution et commençant par :
Code: | #/usr/bin/python
# -*- coding: iso-8859-15 -*- |
me donne une erreur si je le lance directement :
Code: | Erreur de syntaxe près du symbole inattendu « ( » |
(avec python <nom_script> aucun problème)
J'utilise Python 2.7 :
Code: | eselect python show
python2.7 |
J'ai beau chercher je ne trouve pas d'où vient le problème. Qui a une idée ? _________________ emerge --info
dmesg
lspci
.config
Last edited by Neuromancien on Thu Jul 07, 2011 8:42 pm; edited 1 time in total |
|
Back to top |
|
 |
netfab Veteran


Joined: 03 Mar 2005 Posts: 1699 Location: 127.0.0.1
|
Posted: Thu Jul 07, 2011 5:37 pm Post subject: |
|
|
Ton shebang est faux.
|
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
|
Back to top |
|
 |
|