Skip to main content


developerWorks  >  Java technology  >

Introduction to Jython, Part 2: Programming essentials

developerWorks

Level: Introductory

Barry Feigenbaum , Adjunct Assistant Professor, IBM 

08 Apr 2004

Register now or sign in using your IBM ID and password.

This is the second installment in a two-part tutorial designed to introduce you to the Jython scripting language. Part 1 covered the basics of Jython, including installation and setup, access options and file compilation, syntax and data types, program structure, procedural statements, and functions. In Part 2, you will delve into some of the more advanced aspects of working with this powerful scripting language, starting with an in-depth introduction to object-oriented programming with Jython. You'll also learn about topics essential to the mechanics of application development in any language, including debugging, string processing, and file I/O.

Prerequisites

This tutorial is designed as a progressive introduction to Jython. If you have not completed Part 1 of the tutorial, you should do so before proceeding to Part 2.

To benefit from the discussion, you should be familiar with at least one procedural programming language and the basic concepts of computer programming, including command-line processing. To fully utilize Jython's features you should also be familiar with the basic concepts of object-oriented programming. To fully understand the GUI application example at the end of the tutorial you should have prior experience with Swing GUI programming, although you will be able to glean a lot from the preceding discussion and examples. It will also be helpful to have a working knowledge of the Java™ platform, because Jython runs on a JVM -- although this is not a requirement of the tutorial.


System requirements

You must have Jython 2.1 or higher installed on your development system to complete this tutorial. Your development system may be any ASCII text editor (such as Windows Notepad) combined with the command prompt. To use Jython you must also have a Java Runtime Environment (JRE) installed on your system. Download the latest version of the Java development kit (JDK).



Duration

More than two hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community