Catégorie : Python

Problem of integration of pgu module to pyGame

Problem of integration of pgu (http://code.google.com/p/pgu/) module to pyGame (http://www.pygame.org/). Question: On your game « PyOrg », you use the pgu (http://code.google.com/p/pgu/) module for the graphical user interface. I would like to do the same thing for my own game (https://github.com/Nekrofage/KomandoPython). But I have a problem to integrate the gui to the pygame. To explain my problem,

Installation de SQLAlchemy 0.9

Installation de SQLAlchemy. 1) Répertoire de travail : [~/PYTHON] ➔ cd [~] ➔ cd PYTHON/ 2) Téléchargement : [~/PYTHON] ➔ wget https://bitbucket.org/zzzeek/sqlalchemy/downloads/SQLAlchemy-0.9.0b1.tar.gz [~/PYTHON] ➔ tar xvfz SQLAlchemy-0.9.0b1.tar.gz [~/PYTHON] ➔ cd SQLAlchemy-0.9.0b1/ 3) Installation : [~/PYTHON/SQLAlchemy-0.9.0b1] ➔ sudo python setup.py install [~/PYTHON/SQLAlchemy-0.9.0b1] ➔ cd 4) Vérification : [~] ➔ python Python 2.6.4 (r264:75706, Dec 7 2009,

Rendre une application pygame autonome

Rendre une application pygame autonome. 1) Installation de PyInstaller : [~] ➔ cd PYTHON/ [~/PYTHON] ➔ [~/PYTHON] ➔ wget https://pypi.python.org/packages/source/P/PyInstaller/PyInstaller-2.1.tar.gz [~/PYTHON] ➔ tar xvfz PyInstaller-2.1 [~/PYTHON] ➔ cd PyInstaller-2.1/ [~/PYTHON/PyInstaller-2.1] ➔ sudo python ./setup.py install 2) Cloner le programme à rendre autonome : [~/PYTHON] ➔ git clone https://github.com/Nekrofage/Sphere3dPoint [~/PYTHON] ➔ cd Sphere3dPoint/ [~/PYTHON/Sphere3dPoint (master)] ➔