Re: bash et lancement script python

2011-04-25 Par sujet Alain Rpnpif
Le 23 avril 2011, Jean-Jacques Doti a écrit : > Salut, > > On Sat, 23 Apr 2011 17:03:29 +0200, Alain Rpnpif wrote: > > Bonjour, > > > > Depuis toujours quand je mettais en première ligne d'un script python > > : > > #!/usr/bin/python > > > > Python était lancé sur le script. > > Pourquoi maint

Re: bash et lancement script python

2011-04-23 Par sujet Jean-Jacques Doti
Salut, On Sat, 23 Apr 2011 17:03:29 +0200, Alain Rpnpif wrote: 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/p

bash et lancement script python

2011-04-23 Par sujet Alain Rpnpif
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 ./mon