Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Jython as a learning tool

In Jython Is Just Too Useful, Joey Gibson shows how Jython can be used to quickly demonstrate Java class libraries interactively, including using Python’s dir() builtin to inspect available methods of Java classes. I used Jython last year while learning Swing for a piece of University coursework and found that being able to interactively create and manipulate Swing components (and see them appear on the screen as I typed) sped up the learning process a great deal.

This is Jython as a learning tool by Simon Willison, posted on 20th June 2003.

View blog reactions

Next: Gorilla Web Tips

Previous: Problems with RSS

1 comment

  1. That's what I've got out of PythonNet ( http://www.zope.org/Members/Brian/PythonNet ). >> import CLR.System as System >> dir(System.Random) Along with some basic "How does/could this work" scribble-smudge-smear stuff that I appreciate the Python shell for.

    DeanG - 23rd June 2003 04:56 - #

Comments are closed.

Previously hosted at http://simon.incutio.com/archive/2003/06/20/jythonLearningTool

A django site