Evolution of a Programmer

As your programs grow, or as you increase your understanding of Python, you'll use more of Python's organization features. For example:

  • You want to learn how to do a task, so you use the interactive interpreter to learn Python.

  • You want to automate a task, so you write a script. (See Appendix C on scripts.)

  • You want to reuse script functionality, so you organize scripts into different modules.

  • You want to use generalization and abstraction to reuse code common to many scripts, so you organize scripts into classes.

  • You want to share modules with co-workers or a development team, so you organize your modules into packages.

  • You want to use packages of modules from other sources and share your modules with others, so you organize ...

Get Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.