473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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:
http://wiki.python.org/moin/JythonProjects.

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.

Nadeem.

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

- making Jython mostly work up to Python 2.4?

- making a PVM (Python Virtual Machine) for the Palm?
--
Regards,
Casey
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
newsgroup.

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.

Bill

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?


http://pippy.sourceforge.net/

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

Best Regards,
Fuzzyman
http://www.voidspace.org.uk/python

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Michael Chermside | last post by:
Ype writes: > For the namespaces in Jython this 'Python internal thread safety' > is handled by the Java class: > > http://www.jython.org/docs/javadoc/org/python/core/PyStringMap.html > > which...
6
by: Dave Benjamin | last post by:
Hey good people, I've been doing a lot of simultaneous Jython and CPython programming lately, and just wanted to say, with no intended ill will toward any of the individuals who have been...
4
by: angel | last post by:
A java runtime environment includes jvm and java class (for example classes.zip in sun jre). Of course jython need jvm,but does it need java class. Thanx
7
by: Jan Gregor | last post by:
Hello I found that jython catches exact java exceptions, not their subclasses. Is there some way to get around this limitation (or error) ? My program has class representing database source...
1
by: scott | last post by:
I installed darwinports and did a "sudo port install jython" ------------------------- scott$ which jython /opt/local/bin/jython ------------------------- Jython works in interactive...
12
by: Mark Fink | last post by:
I wrote a Jython class that inherits from a Java class and (thats the plan) overrides one method. Everything should stay the same. If I run this nothing happens whereas if I run the Java class it...
3
by: Sloan.Kohler | last post by:
Is Jython development dead or has it just seemed that way for over a year?. The jython.org website has a recent new appearance (but no new content) and there is some message traffic on the...
4
by: Neil Wallace | last post by:
Hi all, I am a novice Python/Jython programmer, and Ubuntu user. Ubuntu still only supports only version 2.1 of Jython. I have used the GUI installer of Jython 2.2, and installed it to the...
5
by: sarup26 | last post by:
Hello .. I would like to know more about Python and Jython? What is the difference between both of them? What is the future for Jython and which are the areas where it is used? Swot
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.