Nznfr3d.Blender   : Archives du 01/03/2001 au 31/03/2001
Expéditeur:   Maigrot michel Date: Tue, 13 Mar 2001 17:45:46 +0100 Numéro:13095
Sujet précédent. Sujet: Re: [python] Question python path Sujet suivant.
Message(s) précédent(s):--1 , 2 , 3 , 4 , 5 , 6 , 7 --
Contenu: : text/plain.
...
jean-michel soler a écrit :
> 
> Maigrot michel wrote:
> 
> > Je ne crois pas avoir pythonwin. Dans c:\python20 j'ai python.exe ( 21k)
> > et pythonw.exe (21k aussi) tenter de lancer pythonw.exe ne fait rien.
> >
> 
> Pythonwin est uen appli trè sévoluée qui s'installe par dessus le python original
> et elle rend d'énorme service:
> 
 >http://www.activestate.com/Products/ActivePython/win32all.html 
> 
> >
> > Test direct depuis une fenêtre terminal Python quelque soit le
> > répertoire de démarrage:
> >
> > C:\W98>python
> > Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)] on win32
> > Type "copyright", "credits" or "license" for more information.
> > >>> import sys
> > >>> test=sys.path
> > >>> print test
> > ['', 'c:\\python20', 'c:\\w98', 'c:\\python20\\dlls',
> > 'c:\\python20\\lib', 'c:\\
> > python20\\lib\\plat-win', 'c:\\python20\\lib\\lib-tk']
> > >>>
> >
> 
> ça m'a l'air normal...
> 
> >
> > Test depuis Blender: Déjà après démarrage j'ai un message bizarre lié à
> > Python dans le terminal ( Toutes versions de Blender ):
> >
> > 'import site' failed; use -v for traceback
> >
> 
> aucune importance...
> 
> >
> > Ensuite avec le script:
> >  import sys
> >  test=sys.path
> >  print test
> >
> > alt+p
> >
> > Je récupère:
> >
> > Run Python script "Text" ...
> > ['C:\\PYTHON20\\', '', '\323\223\236\260)\250', '',
> > 'C:\\GRAPH-3D\\BLENDER']
> >
> 
> Normal aussi. sauf pour le ...'', '\323\223\236\260)\250', '',...
> 
> Quel était le nom du script python que tu voulais faire fonctionner
> dans blender et quel était le nom du module qui n'était pas trouvé ?
> 
> @+
Tous les scripts python quels qu'ils soient et tous les modules qui sont
hors du répertoire de Blender à commencer par string.py.

Message(s) suivant(s):-- : Aucun descendant
Fichier(s) joint(s):
Discussion: [python] Question python path
   [python] Question python path:-- Maigrot michel
       [python] path, bon sang, mais c'e:-- jmsoler
           [python] path, bon sang, mais c'e:-- jmsoler
               [python] path, bon sang, mais c'e:-- jmsoler
                   [python] path, CA MAAAAAAAAARCHE!:-- Maigrot michel
                       [python] path, CA MAAAAAAAAARCHE!:-- nznfr3d.blender
                           [python] path, CA MAAAAAAAAARCHE!:-- Xand
       [python] Question python path sui:-- Xand
       [python] Question python path:-- Xand
           [python] Question python path:-- Maigrot michel
               [python] Question python path:-- jmsoler
                   [python] Question python path:-- Xand
                       [python] Question python path:-- Maigrot michel
                           [python] Question python path:-- jmsoler
                               [python] Question python path:-- Maigrot michel
                       [python] Question python path:-- jmsoler
                       [python] Question python path:-- jmsoler
                           [python] Question python path:-- Xand
Archives réaliséesavec Python 2.0 + PythonWin par JmSoler.