Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This chapter describes Jython’s syntax and statements. Jython has a simple, clean syntax that produces easy-to-read code, often considered the antithesis to the intricate appearances of Java, C, or Perl. Before addressing syntax, this chapter introduces Jython’s interactive mode. This mode allows you to enter code one line at a time like common shell consoles, and it is the perfect venue for exploring Jython’s syntax.