473,699 Members | 2,579 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3627
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
4549
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 has almost all of it public methods Java synchronized: > > http://cvs.sourceforge.net/viewcvs.py/jython/jython/org/python/core/PyStringMap.
6
2106
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 generous enough to make the two languages possible, that, well, they're kinda different. I guess it was inevitable, but with Jython stuck at Python 2.1, it's not really the same language as CPython is today. You still have to type "from __future__...
4
3426
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
12755
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 and specialed classes for particulars databases. Now there are two options - to include exception (subclasses of SQLException) for every db in except (so all drivers has to be present) or to move methods to subclasses.
1
2293
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 mode as shown below:
12
5918
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 says: usage: java fit.FitServer host port socketTicket -v verbose I think this is because I do not understand the jython mechanism for inheritance (yet).
3
2567
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 developer site at Sourceforge. However nothing has been released for over a year (i.e. no support for Python 2.3, 2.4 or 2.5). Is seems that IronPython may have a better future than Jython. I know this is a bit of a troll but I'm concerned about...
4
2042
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 default /root/jython2.2 directory. The install went without issues. However, typing ............jython --version in a teminal still gives me ........ Jython 2.1 on java (JIT: null)
5
3604
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
9173
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8911
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8882
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7748
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5872
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4375
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2345
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2009
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.