Accueil
Rechercher:
sur developpez.com sur les forums
Forums | Tutoriels | F.A.Q's | Participez | Hébergement | Contacts
Accueil Conception Java DotNET Visual Basic  C  C++ Delphi MS-Office SQL & SGBD Oracle  4D  Business Intelligence
Club Emploi Blogs   TV   Dév. Web PHP XML Python Autres 2D-3D-Jeux Sécurité Windows Linux PC Mac
FORUM PYTHON F.A.Q PYTHON TUTORIELS PYTHON SOURCES PYTHON OUTILS PYTHON LIVRES PYTHON
1.2.3 Executing a script from within the IDE


1.2.3 Executing a script from within the IDE

You can run the script in the frontmost window of the Python IDE by hitting the run all button. You should be aware, however that if you use the Python convention "if __name__ == "__main__":" the script will not be ``__main__'' by default. To get that behaviour you must select the ``Run as __main__'' option from the small black triangle on the top right of the document window. Note that this option is associated with the file not the application. It will stay active after a save, however; to shut this feature off simply select it again.

See About this document... for information on suggesting changes.
Responsable bénévole de la rubrique Python : Guillaume Duriaud - Contacter par EMail :
Vos questions techniques : forum d'entraide Python - Publiez vos articles, tutoriels et cours
et rejoignez-nous dans l'équipe de rédaction du club d'entraide des développeurs francophones
Nous contacter - Copyright © 2000-2008 www.developpez.com - Legal informations.