March 2007 -- Issue #9
Welcome to the March 2007 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.
There was a lot of activity in the Python community this past month. The Pycon 2007 event took place and it appears to have been a complete success. Unfortunately, I was unable to attend the event myself, but I have been told by many that it was an excellent event. Please visit the PyCon website for a complete listing of the topics discussed.
The Jython community has been busier than ever. If you are a member of the Jython mailing lists then you know what I mean, it is hard to stay current with all of the e-mail postings from the community. Please contribute to future newsletters by writing articles or tutorials based on your experiences with Jython!
- Josh Juneau
Questions, comments, or suggestions?
Please send email to:
Off The Lists
Question Submitted By Richard M.:
I just installed jython and looked at the Demo examples in the installed folder but didn't see how to call java methods from python code.
The action i want to get is if a certain button is pressed in python code (wxpython) a java method is being called with several variables. is this possible with this tool ? and how should i approach it.
I tried to download the tutorial from Barry Feigenbaum at the jython home page but it was corrupter and couldn't open it on my system. Is there another helpfull tutorial available that will describe these basic actions.
Answer From Jeff Emanuel:
Yes, when a button is pressed, Jython can Java methods. The usual Python GUI toolkits aren't available in Jython, though. You'll need to code the GUI against the Java awt or swing api.
Have you seen these?
Interested in Developing Jython?
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.
Pydev and Pydev Extensions 1.3.0 have been released
Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com
Release Highlights in Pydev Extensions:
* Find References: Ctrl+Shift+G can be used to find the references to the selected token in the editor
* Fix: Code-analysis: Fixed false positive for statement with no effect
Release Highlights in Pydev:
* Code-completion: Deep analysis for discovering arguments in constructs 'from imports' now can be configured given the number of chars of the qualifier
* Refactoring for override methods: changed so that it uses the pydev code-completion engine for getting the hierarchy and methods
* Fix: Python Nature Restore: begin rule does not match outer scope rule fixed
* Fix: Package Explorer: if show-in is in a deep structure, it will show it is the 1st try and not only in the 2nd
* Fix: Package Explorer: some intercepts removed elements incorrectly, and ended up messing the navigator and search (which has 'null' elements because of that)
Jython - Average Job Salary & Stats in UK http://www.itjobswatch.co.uk/jobs/uk/jython.do