Voila c'est un code basique mais il est bien commenté. Ca pourra aidé les debutants a se familiariser avec le mode graphique de python, Tkinter. Source... Lire la suite
voici un petit programme avec une interface Tkinter, permettant de définir l'équivalence en millions de couleurs, une couleur exprimée en Rouge vert... Lire la suite
un tout petit script qui va compiler et executer vos source java sans avoir a tout le temp modifier un .bat ! Simple , mais utile :) Source / Exemple : ...... Lire la suite
Un petit serveur http/cgi tout bete :) je ne l'ai pas tester sous linux , ni tester sur d'autre interpretation cgi que python, mais ca doit... Lire la suite
Programme de stegano : Permet de cacher nimporte quel fichier dans une image en le cryptant (c pas vraiment le plus interessant ça c juste un pti + ). On... Lire la suite
Bonjour, j'ai fait ce programe, qui je l'espère vous aidera, qui cripte du texte, voyant sur ce site un logiciel comme celui-ci ou ne l'on... Lire la suite
Voila une petite classe utilisant l'algorithme de compression de Huffman. Bien sur ce type de compression reste tres simple et ne peut pas permettre de... Lire la suite
Ce code lit directement depuis le fichier bitmap sans utiliser de librairie. Il permet ensuite de lafficher via wx. Il renvoi aussi un tableau au dimension... Lire la suite
C'est un simple BindShell dont javais besoin pour une appli plus importante, je le met ici, ça peut servir ;) pour le lancer BindShell.py port pass (ou... Lire la suite
Un simple generateur aleatoire de labyrinthe qui sait aussi trouver la sortie ^^. Ce code est utile pour plusieurs choses : -il est orienté objet ... Lire la suite
Bon c'est un programme qui genere un nombre aleatoire. Ok c'est basique mais c'est tres commenter donc les je pense que c'est tres bien... Lire la suite
Trois boules : blanche, rouge et grise sur un tapis vert ... et deux joueurs. Après avoir placé les boules sur le billard et réglé la direction, la vitesse,... Lire la suite
Petit interface permettant une utilisation simplifiee des classes de conversion de base. Ne pas oubliez de nommer le code des classes en "base_dj" ou... Lire la suite
Modification d'un exemple depose par Marvin. Insertion d un nombre en base 10 , translation vers les bases 2 a 16. Insertion d un nombre en une base X... Lire la suite
Au fur et à mesure des codes, vous aprendrez à créer un petit client FTP très léger en .py . Tous les scripts fonctionnent. Pensez à récupérer FTPLib... Lire la suite
Le but du jeu est de se rapprocher le plus possible de 21 en lancant un dé, vous vous arrêtez quand vous le voulez en cliquant sur "arrêter" et la vous... Lire la suite
C'est mon premier code que je mets au site. C'est un jeu de Pacman que j'ai utilisé pour mon TFE en programmation de cette année. Si vous... Lire la suite
Ce programme propose une interface graphique en TK et permet de trouver les anagrammes d'un mot entré. Il gère le caractère '?' comme... Lire la suite
Salut tout le monde, Voici mon premier programme en python, mais aussi pas première source déposée sur ce site (soyez donc indulgents SVP). Ne sachant pas... Lire la suite
C'est une bataille navale assez zolie :p a laquelle on peut jouer contre l'orfinateur ou en reseau LAN/Internet. Il est tres intuitif et tout se... Lire la suite