Script Python
Un article de WikiSigPlus.
(Différences entre les versions)
| Version du 16 février 2007 à 12:18 Liofr (Discuter | contribs) (→téléchargement installation et test) ← Différence précédente |
Version du 16 février 2007 à 12:24 Liofr (Discuter | contribs) (→téléchargement installation et test) Différence suivante → |
||
| Ligne 9: | Ligne 9: | ||
| *'''mysql''' [http://sourceforge.net/projects/mysql-python web]).Tester avec la commande "import MySQLdb". | *'''mysql''' [http://sourceforge.net/projects/mysql-python web]).Tester avec la commande "import MySQLdb". | ||
| *'''geoppy''' permet de géocoder une adresse.il faut préinstaller BeautifulSoup([http://cheeseshop.python.org/pypi/BeautifulSoup/3.0.3 download]) et l implémentation python de json([http://json.org/ web]) appelé simplejson ([http://cheeseshop.python.org/pypi/simplejson web]).Télécharger le fichier geopy ([http://cheeseshop.python.org/pypi/geopy/0.93 download]) dans C:\PYTHON24 depuis c:\PYTHON24 puis lancer C:\PYTHON24\SCRIPTS\easy_install.exe ../geopy-0.93-py2.4.egg . tester avec | *'''geoppy''' permet de géocoder une adresse.il faut préinstaller BeautifulSoup([http://cheeseshop.python.org/pypi/BeautifulSoup/3.0.3 download]) et l implémentation python de json([http://json.org/ web]) appelé simplejson ([http://cheeseshop.python.org/pypi/simplejson web]).Télécharger le fichier geopy ([http://cheeseshop.python.org/pypi/geopy/0.93 download]) dans C:\PYTHON24 depuis c:\PYTHON24 puis lancer C:\PYTHON24\SCRIPTS\easy_install.exe ../geopy-0.93-py2.4.egg . tester avec | ||
| - | + | [[Image:simplejson_install0.png]] | |
| [[Image:geopy_install0.png]] | [[Image:geopy_install0.png]] | ||
| =utilisation dans manifold= | =utilisation dans manifold= | ||
Version du 16 février 2007 à 12:24
manifold supporte grace à win32all ou ironpython l'environnement python (os python et modules).
téléchargement installation et test
Le téléchargement et l'installation doit prendre en compte le même numéro de version.Lors du test il faut lancer la fenêtre par Démarrer|executer|python .Puis taper import suivit du nomduModule si apparrait "ImportError:No module named nomduModule" alors le module n'est pas installé.
- python (web).tester la version installé avec
Démarrer|Executer|python
- pywin32 ( anciennement win32all )wiki,download 4.2Mo).Tester avec la commande "import win32com".
- ez_setup py),cliquer sur celui ci entraine l installation du fichier PYTHON_HOME\Scripts\easy_install.exe qui va être appeler par easy_install.exe /x/y.egg ou http://w/z.tar.gz.Tester avec la commande "import pkg_ressources"
- mysql web).Tester avec la commande "import MySQLdb".
- geoppy permet de géocoder une adresse.il faut préinstaller BeautifulSoup(download) et l implémentation python de json(web) appelé simplejson (web).Télécharger le fichier geopy (download) dans C:\PYTHON24 depuis c:\PYTHON24 puis lancer C:\PYTHON24\SCRIPTS\easy_install.exe ../geopy-0.93-py2.4.egg . tester avec


