"ast" <nom...@invalid.com> a écrit dans le message de
news:5412f2cb$0$2069$426a3...@news.free.fr...
bonjour
Mon path est:
sys.path
[' ', 'C:\\Python33\\Lib\\idlelib', 'C:\\Windows\\system32\\python33.zip',
'C:\\Python33\\DLLs', 'C:\\Python33\\lib', 'C:\\Python33',
'C:\\Python33\\lib\\site-packages', 'mypath']
Tout d'abord à quoi correspond le ' ' vide au tout début ?
Pourquoi y a t'il deux backslashs \\ entre les répertoires ?
(sous windows normalement c'est un seul)
Ensuite j'aimerais ajouter un répertoire de façon définitive,
donc pas en utilisant sys.path.append(... après chaque ouverture
d'un shell.
J'ai lu qu'il fallait changer une variable $PYTHONFILE
mais ou exactement ? Je suis sous Windows Vista.
Merci
Sorry I sent this message in the wrong forum.
I intended to send it to fr.comp.lang.python
--
https://mail.python.org/mailman/listinfo/python-list