Jython Monthly


December 2006 -- Issue #6

Seasons Greetings!

Welcome to the December 2006 issue of Jython Monthly. The content of this newsletter will focus on using and developing the Jython languge.

I want to encourage the readers of Jython Monthly to send any articles, tips, tricks, or any other Jython related material to me if you think it should be distributed with this newsletter. Unfortunately, there were no article submissions for this month's edition of Jython Monthly. Hopefully we can have better luck next month!

I wish you and your families a very happy holiday!

- Josh Juneau

Questions, comments, or suggestions?

Please send email to:

jython-monthly@mchsi.com or jython-users@lists.sourceforge.net for discussion.

Article Call

Unfortunately, we had no article submissions for this month's newsletter. All of the holiday activity must have had an impact on everyone's schedules. I know it has had an impact on mine!

I have had a recent interest in graphics and gaming development. There are some articles available regarding Jython and Java3D development, but I have not been able to find many concerning Jython game development.

As the editor of Jython Monthly, I'd like to ask those Jython graphics and gaming developers to submit an article for next month's newsletter on such a topic. Be it a tutorial or just a simple example, it would be great to add some gaming or graphical tutorials to the online Jython library.

Until then, enjoy the holiday season! The next issue of Jython Monthly is scheduled to be distributed on January 9th, 2007.

- Josh Juneau

Tips and Tricks

This is an old useful trick for referencing a static method within a Jython class.

# direct, naive approach -- doesn't work...:
class Class1:
    def static1(name):
        print "Hello",name

# ...but now, a call such as:
# will fail with a TypeError, as 'static1' has become 
# an unbound-method object, not a plain function.

# This is easy to solve with a simple tiny wrapper:
class Callable:
    def __init__(self, anycallable):
        self.__call__ = anycallable

# toy-example usage:
class Class2:
    def static2(name):
        print "Hi there",name
    static2 = Callable(static2)

# now, a call such as:
# works just fine, and as-expected

Thanks to Alex Martelli for posting this recipe.

Python Cookbook


Python 411

An excellent Python podcast which is useful for keeping current on the Python language, and also for learning how to use many of it's features.

Python 411 Site

Jython Blogs

Jython Alive and Well and Looking For Love

IronPython and Jython

Javalobby Forum


PyCon 2007

PyCon 2007 is getting closer. The event is scheduled to take place in Addison, Texas (near Dallas) on February 23-25, 2007.

The list of talks is available here. Frank Wierzbicki will be giving a talk entitled Jython for Python Developers. Book your reservations today and do not miss out on the event!

JavaOne Help

The JavaOne event will be held at the Moscone Center in San Francisco, California on May 8-11 2007. The Call for Papers is now open and there is a need for Jython presentations. If you are interested or would like to learn more about the event, please visit JavaOne 2007 Site

2.2 Beta Just Around the Corner

Developers on the Jython project are predicting that the next beta release will be due out soon...please stay tuned to the Jython site for the most recent details on this upcoming release.

Interesting Facts

Code Golf

Based on the original perl golf, Code Golf allows you to show off your code-fu by trying to solve coding problems using the least number of keystrokes.

You're not just limited to Perl either - PHP, Python and Ruby are all available too.

Challenges are always open, and your entries are automatically scored so you can start playing right away!

Jython - Average Job Salary & Stats in UK http://www.itjobswatch.co.uk/jobs/uk/jython.do

Interested in Developing Jython?

Check out the new Porting Python Modules to Jython guide which has been posted by Charlie Groves. This guide will help beginners get a quick start on developing Jython. Thanks for the guide Charlie.

If you are interested in developing Jython, please take a look at the current bug listing and submit patches for items which you can repair.

Useful Links


Jython Home

Python Home

Jython WikiPedia


Python Daily News

JythonMonthly/Newsletters/December2006 (last edited 2008-11-15 09:16:02 by localhost)