See All Titles |
![]() ![]() SummaryThis chapter shows some performance and style suggestions for your code now that you are probably writing your own programs. It also introduces you to the main GUI development environments that you can use to write Python applications. Writing a program is very easy, but writing a good and optimized program requires some level of experience. A good way to start is to learn all the nuances of the language, which in our case involves learning Python. Python is a perfect language for project prototyping. Python's design allows you to make changes very quickly. Along the development stage, you will soon see that Python can be easily used to code entire applications, without discarding the prototyped code. Performing code optimization and writing a program with style are very important things that you must have in mind, not only when using Python, but also when writing in any other language. For years, many people have been writing and editing their Python programs using simple text editors, but now the scenario has changed. Python currently provides two efficient development environments for your usage: IDLE, a cross platform Integrated Development Environment for Python, and Pythonwin, a development environment specifically for the Windows platform. The next chapter introduces you to the Python-mode package for Emacs, which provides almost all the features in the IDLE and Pythonwin edit windows (and a few features they don't). This includes auto indentation, syntax highlighting, and so on. You can use Emacs on just about any UNIX-like system, and there is a Windows port as well.
|
© 2002, O'Reilly & Associates, Inc. |