Bingo.... Time to market... We got the "yes" on Python and PyGTK but the "no" on a rewrite. :)
Recently, we've written some networking daemon modules in Python and some equipment simulators in Python. It was quick and easy. We are committed to Python. (We used Python 3 BTW... hint hint, but plan on using 2.6 just for our PyGTK dev). If you guys think it will be hard and challenging, I am not going to do it. We are looking for easy, fast and good. In fact a rewrite is planned, but for the rewrite we are considering PyGTK, PyQT, and PyWxWidget (not sure if those are the actual names). So not to digress from the topic... Is there a link somewhere where you describe the relative merits of these Python choices? ------ Warning unneeded detail... stop here if you are already bored ----- BTW I recently wrote a fully functional, paging, graphing doo dah with a lot of bells and whistles in C and GTK. It was fun but challenging. It was almost identical to a program I wrote 16 years ago in the C Windows API (ala Petzold) and then later in OWL/C++ [15 years ago] and then again in MFC/C++ [14 years ago]. (I just found out I need to write a Flex version sometime next year.) Anyway we have a lot of DB data entry/Forms and DrawingAreas work to do. I know I could do it faster in Python. I plan on a rewrite soon, just not sure if I am going to use PyGTK or PyQT or PyWxWidget. On Fri, Sep 4, 2009 at 8:07 AM, Nathan Samson <[email protected]>wrote: > I think the point is to keep all current C code, and write only the new > widgets in python. > > Still I think it is easier to start from scratch in python/pygtk than > trying to include python code in your c program (it is not impossible, it is > probably not easy) > > On Fri, Sep 4, 2009 at 16:55, John Finlay <[email protected]> wrote: > >> Rick Hightower wrote: >> > I have an existing C/GTK application. I would like to write all new >> > features in Python using PyGTK. >> > Is there any way to write widgets in PyGTK and use them easily in a >> > C/GTK based application? >> > >> > Are there examples of this somewhere? >> > >> > Essentially I want to add a Widget to a parent where the Widget is >> > managed by PyGTK and the parent is in the C/GTK application. >> It might be easier to rewrite the C/GTK app in Python if possible. >> >> John >> >> _______________________________________________ >> pygtk mailing list [email protected] >> http://www.daa.com.au/mailman/listinfo/pygtk >> Read the PyGTK FAQ: http://faq.pygtk.org/ >> > > > > -- > http://www.nathansamson.be > > To understand recursion, you must first understand recursion. >
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
