Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 25th, 2004, 04:30 PM
GundamDX GundamDX is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 31 GundamDX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
suggestion: Python or Java?

Hi all

I have a bit of a dilemma. As a project I'm going to make an error checker for text documents. So I need to use regular expressions, IO facilities and some nice GUI tools. The problem is I have experience with Regular expressions with Python (using NLTK) but no GUI experience. On the other hand, I have experience with making GUIs in Java and using IO as well, but not with natural language stuff.

I've had a look at the APIs, but I'm not sure if I'm looking hard enough, can anyone make some suggestions on which route is better?

Thanks very much in advance!

Reply With Quote
  #2  
Old May 25th, 2004, 07:12 PM
DevCoach DevCoach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: London, England
Posts: 1,243 DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 5 h 41 m 59 sec
Reputation Power: 265
Which APIs have you looked at?

Python has several GUI frameworks, but Tkinter and wxPython are the most popular by a long shot. If you have done GUI development in Java then you should not have any problem picking either of them up. IO is also a lot simpler in Python, and you won't have to bother with those silly 'anonymous inner classes' that Java uses to get round the lack of function objects, either.

Dave - The Developers' Coach

Reply With Quote
  #3  
Old May 25th, 2004, 11:34 PM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,536 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 10 m 32 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
My dear man, you seem to be looking for some kind of Python - Java half breed ... a kind of Jython you might say... all the power of Pythons beautiful syntax, builtin types and functions with the JVM and Libraries (swig for one). Is this possible you ask?

If you havn't found it already, try: http://www.jython.org/

Have fun ,

Mark.
__________________
programming language development: www.netytan.com Hula


Reply With Quote
  #4  
Old May 26th, 2004, 04:45 AM
DevCoach DevCoach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: London, England
Posts: 1,243 DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 5 h 41 m 59 sec
Reputation Power: 265
Quote:
Originally Posted by netytan
My dear man, you seem to be looking for some kind of Python - Java half breed ... a kind of Jython you might say... all the power of Pythons beautiful syntax, builtin types and functions with the JVM and Libraries (swig for one). Is this possible you ask?

If you havn't found it already, try: http://www.jython.org/

Have fun ,

Mark.


I was going to suggest that, but if he wants to use NLTK then he is out of luck, since (from my cursory reading of the web site for it) it requires Python 2.3 and the Numeric module.

Dave - The Developers' Coach

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > suggestion: Python or Java?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT