Je me suis amusé, à creer un semblant de serveur "http". Le programme ouvre le port 80, il attent que le WebBroswer utilise ce port, il recupère le message... Lire la suite
Trouver son plus court chemin avec une interface graphique implémentant l'algorithme de Dijkstra. Utilisation : Pour chercher le plus court chemin... Lire la suite
Ce programme permet de créé un tableau comme sous Excel, d'insérer autant de colonne et de lignes qu'il veut, puis sauvegarder et restituer son... Lire la suite
... ... Lire la suite
Bonjour. Voici un petit notificateur de mail en python, programmé avec python 2.5,wxPython et boa constructor. Je me suis aidé de plusieurs sources que... Lire la suite
Un classique des classiques, mais je tenais ? vous soumettre ce code pour me faire part des erreurs ou rectifications qu'il serait bon d'y... Lire la suite
Voici une petite classe faites sous IronPython (pour ceux qui ne savent il s'agit d'une implémentation du langage Python dans le framework .Net de... Lire la suite
Depuis peu je me suis interessé à ce langage et je dois dire depuis que j'ai mis le pied dedans impossible d'en sortir. Donc pour ma première,... Lire la suite
Vous pouvez générer des sudoku et leurs solutions à partir d'un sudoku et de l'une de ses solutions. Il suffit de permuter deux lignes ou deux... Lire la suite
Pour notre projet technique, mon collègue et moi avons développé ces scripts qui permettent de créer du trafic aléatoire. Le fichier web.py contient des... Lire la suite
Voici une version personelle du célèbre jeu de société. Comprend une interface graphique utilisant Tkinter, et intégrant la plupart des règles de ce jeu.... Lire la suite
J'ai donné une explication du code en commentaire dans l'entête du programme Source / Exemple : ... ... Lire la suite
PRESENTATION Au lancement du jeu, le bouton fait apparaître: - la zone des couleurs choisies pour la partie - la zone de jeu dans laquelle le chercheur... Lire la suite
Ceci est un tutoriel a peu prés compler sur la création d'exécutable à l'aide de Py2exe. Tout est indiquer dans le fichier ZIP. Ce tutoriel est... Lire la suite
Documenter vos sources en genérant le graphe des appels inter-fonctions avec Graphviz. Graphviz est un logiciel libre distribué suivant la licence Common... Lire la suite
Bonjour à tous ! Face au nombre un peu faiblard de codes disponibles en Python, j'ai décidé de déposer quelques-unes de mes sources sur le site,... Lire la suite
La source contient un serveur XMLRPC et le client qui lui est associé, elle n'est pas commentée car le code est extremement simple est il parle de lui... Lire la suite