• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Any suggestions on good jython online tutorials?

 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Marcos,

Please check your private messages for an important administrative matter.

Thanks, Andrew
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic