469,950 Members | 2,334 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

IDLE in Jython

Me and a couple of friends have been thinking of doing something
involving Python for our final year undergrad project. We're
considering the first idea mentioned on this page:

Unfortunately, their statement is a little terse, so I was hoping
someone could give us a better idea of what they wanted. As far as I
can see, they want us to build an integrated development environment
for Jython along the lines of Python's traditional IDLE. Have I gotten
confused, or this really the gist of the idea?

If I've got it right, I'd appreciate some help on the following issues:
1. The broad outlines of what we'll have to do - how much Java and how
much Python?
2. Any Jython specific issues I need to be aware of? How big a part
will Jython play in development?
3. Some idea of the scope of this project and the time it might take a
team of three to get it up and running.

We're looking for something fairly challenging, but not so difficult
that we won't be able to finish it off in time. We have about 7-8
months to pull it off, but we'll have a bunch of pretty hectic exams,
assignments, entrance tests, grad school apps and stuff like that for a
pretty significant proportion of that time. The 'powers that be' are
officially giving us one day a week for it, though I'm pretty certain
we can increase that, and we'll have about a month of free time at the
end of this semester, and less hectic schedules in the next. I'm pretty
certain it's possible, but better heads than mine have been wrong...If
anyone has any ideas for other interesting projects involving Python,
we'd like to hear them too.

At present I'm the only Python coder in the group, but all three of us
are pretty good with Java, and we have a fair amount of experience
doing GUIs in Swing. Hope you guys can help us out.


Jul 21 '05 #1
4 3369
How about the following:

- making Jython mostly work up to Python 2.4?

- making a PVM (Python Virtual Machine) for the Palm?
Jul 21 '05 #2
You might get better answers if you contact the Jython developers
themselves and look at their wiki -
http://www.jython.org/cgi-bin/wiki/FrontPage. Even though you found the
posting on a Python wiki, you really want to consult the Jython
community, and I'm not sure to what extent they participate in this

Just by reading the description of the task and your post I'd say the
project is certainly doable, but not trivial. Since IDLE is a Python
application the path of least resistance would be to port it to Jython.
The majority of work would probably be in replacing the Tk GUI with a
Java-based GUI. You say that your people have experience with Swing so
you have a leg up on that part.

Since Jython currently does not support all of the latest Python, you
likely will have to work around some features incorporated in the
latest IDLE. As you say that your team has limited experience with
Python, this might be the most challenging part. I'd ask here just how
much experience your team has had with maintenance programming.
Modifying someone elses code is a different task than writing new code
from specifications, and some programmers dislike this kind of work. I
mention this because I think that designing and building an IDE from
scratch IS more than you want to tackle.

You might want to look at some of the other IDEs that support Python.
One of the things you'll want to do is reverse engineer IDLE. If you
are currently using Eclipse for Java development, there are a couple of
plugins for Python which should support Jython to some extent.


Jul 21 '05 #3
Casey Hawthorne wrote:
How about the following:

- making Jython mostly work up to Python 2.4?
http://www.python.org/psf/grants (see the first grant)

There's already a grant in place for this. So hopefully someone
associated with Jython is working on it.
- making a PVM (Python Virtual Machine) for the Palm?


Jul 21 '05 #4
Pippy looks pretty dead. Wasn't someone else working on a Palm port ?

Best Regards,

Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Michael Chermside | last post: by
6 posts views Thread by Dave Benjamin | last post: by
4 posts views Thread by angel | last post: by
7 posts views Thread by Jan Gregor | last post: by
12 posts views Thread by Mark Fink | last post: by
3 posts views Thread by Sloan.Kohler | last post: by
4 posts views Thread by Neil Wallace | last post: by
5 posts views Thread by sarup26 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.