Nznfr3d.Blender   : Archives du 01/03/2001 au 31/03/2001
Expéditeur:   Maigrot michel Date: Sun, 11 Mar 2001 19:06:22 +0100 Numéro:13086
Sujet précédent. Sujet: Re: [python] Question python path Sujet suivant.
Message(s) précédent(s):--1 , 2 , 3 , 4 , 5 --
Contenu: : text/plain.
...
Xand a écrit :
> 
> Dans pyhtonwin, vérifie les chemins donnés par 'browse python path',
> juste pour voir si python a tout bien installé où il faut.
> 
> +++
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.
Mais j'ai trouvé un truc bizarre en effectuant un des tests proposés par
JM dans un vieux post à S.Bourzeix:

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']
>>>

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

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']

Quelqu'un comprend???!!!

@+
MM.


Message(s) suivant(s):--1 --
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.