File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Any suggestions on good jython online tutorials?

 
Marcos Maia
Ranch Hand
Posts: 977
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'd like to know jython better and I'd like suggestions on good on line resources and tutorials on it. Any suggestions?

tx in advance.
 
Z Sugiarto
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Couldn't find one.

I'm writing a swing application using Jython on eclipse, took me about 20 minute to get used to it. It's very easy.

I'll probably write one once I am finished with my apps - it's an application to process my online banking statements. I'm sick of having to copy paste the csv files into excel every month. But it's pretty much

1. get eclipse + pydev
2. configure pydev, add jython path etc
3. in your jython code:



After that, you can just do...



and the good ol java suggestion pops up. You don't get all the nice feature of the java editor like ctrl+shift+o (manage imports). Also due to its weak typing nature, ctrl+space on a class doesn't automatically give you a list of your private attributes.

My advice is, get used to it. It's PyDev, not JavaDev.

So in 15-20 minutes, downloading Jython, googling around, mucking around, etc I ended up with a very simple Jython-Swing skeleton code like this:



Not my most elegant code, but hey it's a start, and I do plan to refine it over time.
[ September 03, 2008: Message edited by: Zenikko Sugiarto ]
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marcos,

Please check your private messages for an important administrative matter.

Thanks, Andrew
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic