background preloader

Python

Facebook Twitter

Programmation

TODO. Construire une interface graphique pas à pas en Python avec Tkinter et wxPython. Ce texte est la traduction française de Dans cette page, vous allez apprendre à constuire une interface graphique pas à pas en Python. Le but est: De maîtriser les techniques de base des interfaces graphiques (mise en place des widgets, contraintes, gestion des évènements...)De comprendre la moindre méthode et paramètre utilisé ici.De voir deux toolkits majeurs et de comprendre leurs différences.De servir de base pour construire vos propres applications graphiques.

Vous apprendrez:à créer une classe "application graphique",à créer des widgets (éléments d'interface graphiques),à les placer dans des conteneurs,à attacher des méthodes à certains évènements,à manipuler les valeurs des widgets,etc. Ces deux tookits graphiques sont portables: Cela signifie que - si bien conçues - vos interfaces fonctionneront sur tous les systèmes (Windows, Linux, MacOS X...). Table des matières Notre projet Le code Tkinter est dans cette couleur, à gauche. #! Hé ! Ainsi: Les meilleurs EDI, RAD et Shell pour Python - Club d'entraide des développeurs francophones. Leo (text editor) Leo (Leonine Editor with Outlines) is a text editor that features outlines with clones as its central tool of organization, navigation, customization and scripting.

@file nodes represent external files, files on the computer's file system other than the outline file. When saving an outline Leo automatically writes all changed @file trees back to the external files. Comments, called sentinel lines, in external files represent the outline structure. When Leo reads an outline, these comments allow Leo to recreate @file trees using only the data in the external file. @auto nodes represent external files without using sentinel comments. The body text of any node may contain a Leo script, a Python script executed in the context of a Leo outline. @test nodes create unit tests. Ressources Python. Fast Light Toolkit (FLTK) Hébergement Python.

Bodycard xxxb