Bonjour, Depuis toujours quand je mettais en première ligne d'un script python : #!/usr/bin/python
Python était lancé sur le script. Pourquoi maintenant (Debian Squeeze), la commande ./monscript.py donne : line 1: #!/usr/bin/python: Aucun fichier ou dossier de ce type $ sh ./monscript.py ./monscript.py: 1: #!/usr/bin/python: not found $ bash ./monscript.py ./monscript.py: line 1: #!/usr/bin/python: Aucun fichier ou dossier de ce type $ which python /usr/bin/python python monscript.py marche. Je ne comprends pas. Auriez-vous une explication ? -- Alain Rpnpif -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe" vers [email protected] En cas de soucis, contactez EN ANGLAIS [email protected] Archive: http://lists.debian.org/[email protected]

