473,385 Members | 1,919 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,385 software developers and data experts.

wxPython OGL future

PD
Hi Everyone,

I am sort of a new developer to python and working in an academic
environment. I climbed the learning curve on wxPython far enough to get
the functionality I want out of it so far... Now Im in need of a
diagramming library (something visio-like) to use for my software and
the only option I have seen is OGL. Yet I read that OGL is dead, no
longer maintained, obsucure and lacking documentation. Instead of
taking a leap of faith and walking off a cliff, Ide appreciate if some
people out there who have come across a similar problem have any
solutions or suggestions for me...

I am so disappointed at the moment I think Im about ready to throw in
the towel and crawl back to java. I love python, but it has some real
difficulties when it comes to making library choices on what _to_ and
_not to_ get yourself into.

I appreciate your guidance,
Pouya

Jul 18 '05 #1
7 3092
What are you looking to do exactly? I don't know what OGL is.

On Mon, 14 Feb 2005 16:50:51 -0800 (PST), PD <al*****@gmail.com> wrote:
Hi Everyone,

I am sort of a new developer to python and working in an academic
environment. I climbed the learning curve on wxPython far enough to get
the functionality I want out of it so far... Now Im in need of a
diagramming library (something visio-like) to use for my software and
the only option I have seen is OGL. Yet I read that OGL is dead, no
longer maintained, obsucure and lacking documentation. Instead of
taking a leap of faith and walking off a cliff, Ide appreciate if some
people out there who have come across a similar problem have any
solutions or suggestions for me...

I am so disappointed at the moment I think Im about ready to throw in
the towel and crawl back to java. I love python, but it has some real
difficulties when it comes to making library choices on what _to_ and
_not to_ get yourself into.

I appreciate your guidance,
Pouya

--
http://mail.python.org/mailman/listinfo/python-list

--
Thomas G. Willis
http://paperbackmusic.net
Jul 18 '05 #2
PD
Hi Tom,

OGL is a library that is part of wxPython (wx.lib.ogl). I am trying to
put together some kind of schematic editor. It would be a block diagram
of modules and sometimes a statemachine type of figure. Similar to
something Visio does, but about a gazillion times simpler.

Thanks
Pouya

Jul 18 '05 #3
D H
PD wrote:
Hi Everyone,

I am sort of a new developer to python and working in an academic
environment. I climbed the learning curve on wxPython far enough to get
the functionality I want out of it so far... Now Im in need of a
diagramming library (something visio-like) to use for my software and
the only option I have seen is OGL. Yet I read that OGL is dead, no
longer maintained, obsucure and lacking documentation. Instead of
taking a leap of faith and walking off a cliff, Ide appreciate if some
people out there who have come across a similar problem have any
solutions or suggestions for me...
Well OGL still works as far as I know.
Check out also pyxel. It hasn't been updated in almost a year though:
http://bellsouthpwp.net/p/r/prochak/pyxel.html

I am so disappointed at the moment I think Im about ready to throw in
the towel and crawl back to java. I love python, but it has some real
difficulties when it comes to making library choices on what _to_ and
_not to_ get yourself into.


Python baby, you broke my heart :)

You can still use python in java, see jython.
There is a similar tool that works in Java or .NET called Piccolo:
http://www.cs.umd.edu/hcil/piccolo/
I'm using it with boo, a python-like language for .NET and Mono:
http://boo.codehaus.org/ but you can also use it with IronPython or
Jython. On the Linux side, see DiaCanvas (can use from CPython with
pygtk) and DiaCanvas-Sharp (can use from boo or ironpython):
http://diacanvas.sourceforge.net/
http://diacanvas.sourceforge.net/csharp.php
Jul 18 '05 #4
PD wrote:
I am sort of a new developer to python and working in an academic
environment. I climbed the learning curve on wxPython far enough to get
the functionality I want out of it so far... Now Im in need of a
diagramming library (something visio-like) to use for my software and
the only option I have seen is OGL. Yet I read that OGL is dead, no
longer maintained, obsucure and lacking documentation.


Not actually having used it, I can't help much, but the code
is all there, runs fine in the latest demo, and looks pretty
clean. Maybe you should examine it before you decide against
it. If it does what you need, or if you can easily add the
missing functionality, what else would you want out of it?

-Peter
Jul 18 '05 #5
PD
Hi D H,

Thank you for the suggestions. I would be interested in Jython but I
had some rough runs with it and I think I would kind of want to stick
to wxWidgets since I think the GUI is kind of cleaner. Im trying to
avoid reinventing the wheel so pyxel is a too little of a framework for
me.

I looked at piccollo though, and that is very appealing to me. What has
your experience been with Jython? I personally had a bad run in with
jython when I tried to run some example code with Swing and got all
sorts of weird behaviour (this was in their demos by the way...) Have
you ever seen some serious projects written with jython that I could
look at maybe?

I greatly appreciate your help, Thank you
Pouya

Jul 18 '05 #6
PD
Hi Peter,

I did look at the code, and did run several examples on it. It _is_
pretty well organized and easy to read through, and youre right, I
think i might be able to add missing functionality if need be.

I don't think I want that much out of it necessarily. I just feel
really weird writing new software with deprecated libraries. By the
time Im done with my project, I have to put all these disclaimers on
how the new versions of wxWidgets might not work. The thing I am really
concerened about is if wxPython decides to drop OGL because it is
deprecated... anyhow thats my 2 cents.

I actually saw several other discussions on OGL and think its such a
shame its been abandoned. It seems like a lot of people are interested
in having this kind of functionality present in the library. Who
knows... maybe if i decide to use it and get good at it, I should do my
share and contribute something back to the open-source community :)

Thank you,
Pouya

Jul 18 '05 #7
D H
PD wrote:
I don't think I want that much out of it necessarily. I just feel
really weird writing new software with deprecated libraries. By the
time Im done with my project, I have to put all these disclaimers on
how the new versions of wxWidgets might not work. The thing I am really
concerened about is if wxPython decides to drop OGL because it is
deprecated... anyhow thats my 2 cents.


Actually, I think the information on the wxpython wiki is now out of
date. OGL was implemented in C and wxpython provided a wrapper. That
version is now dead. But they rewrote OGL in pure python. So it isn't
obsolete yet I believe. Since it is written in python you can easily
extend it or whatever.

Instead of saying "import wx.ogl as ogl", say
"import wx.lib.ogl as ogl".
Jul 18 '05 #8

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

Similar topics

5
by: carljohan.rehn | last post by:
I would like like to start doing some GUI-programming in Python, but don't know which library to choose. Tkinter seems a bit old. Correct me if I am wrong! The layout doesn't look as nice as for...
6
by: Logan | last post by:
Would you recommend to use the wx package of wxPython? From the documentation: Provides a way to drop the wx prefix from wxPython objects by dynamically loading and renaming objects from the...
3
by: Robert | last post by:
Hello list, could somebody point me to a good reference about wxPython event handling? I have seen many examples but which one is the best. Waht are the advantages and disadvantages? Can you...
7
by: SeeBelow | last post by:
Do many people think that wxPython should replace Tkinter? Is this likely to happen? I ask because I have just started learning Tkinter, and I wonder if I should abandon it in favor of...
15
by: Grant Edwards | last post by:
Can anybody recommend a good book on wxPython? Are there any books on wxPython? I've been trying to learn wxPython and/or wax for a few weeks, and I'm just not getting it. wxWindows seems...
25
by: BJörn Lindqvist | last post by:
See: http://www.wxpython.org/quotes.php. especially: "wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard...
3
by: Jive | last post by:
Anyone know what's up with this, and how to fix it? (I'm running MS Windows 2000 Pro, SP 4) In wxPython 2.5, run the demo, samples/wxProject/wxProject.py Create a new project and add a file...
5
by: Daniel Bickett | last post by:
I'm very near finishing a medium to large scale application, so I'm getting a head start on the GUI side of things. Part of the concept is to give as much attention to presentation as...
25
by: TPJ | last post by:
GUI's etc: PyGtk on Windows "(...) So if someone develops mainly for X and just wants to make sure that it is not impossible to run on Windows, you can use PyGTK. (...)", July 2nd, 1999 pyGTK...
4
by: stef | last post by:
hello, I'm trying to move from Delphi to Python (move from MatLab to Python already succeeded, also thanks to this discussion group). From the discussions in this list about "the best" GUI for...
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: 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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.