Re: OO on python real life tutorial?

2006-09-03 Thread Claudio Grondi
Patrick Thomson wrote: I personally don't like wxPython because the way it works is very counter intuitive for me and appear to me somehow non-Pythonic While Claudio has a point (wxPython is a C++ library at heart), I believe that wxPython is the best solution for Python GUI's out there. TK

Re: OO on python real life tutorial?

2006-09-03 Thread bearophileHUGS
Patrick Thomson: After all, GvR said that wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard Python GUI toolkit is that Tkinter was there first. The Wax toolkit (http://zephyrfalcon.org/labs/wax.html)

Re: OO on python real life tutorial?

2006-09-02 Thread filippo
Claudio Grondi ha scritto: (megasnip) I caught your point of view. I start reading a book on wxpython to understand if it can help to solve my problems. At the same time I will port my program to Python/Tk in order to have a faster first beta release. Thanks for your explanation. Filippo --

Re: OO on python real life tutorial?

2006-09-02 Thread Ron Adam
filippo wrote: Hello, I coded my +10k lines app using Perl/Tk. It is something like a hotel software manager, it has a bunch of windows to manage the arrivals, bills etc etc. I want to port this on Python/WxPython but I'd like to get benefit of python, not just doing a row by row raw

Re: OO on python real life tutorial?

2006-09-02 Thread Patrick Thomson
I personally don't like wxPython because the way it works is very counter intuitive for me and appear to me somehow non-Pythonic While Claudio has a point (wxPython is a C++ library at heart), I believe that wxPython is the best solution for Python GUI's out there. TK may be a lot easier, but

Re: OO on python real life tutorial?

2006-09-02 Thread Robert Hicks
filippo wrote: Claudio Grondi ha scritto: (megasnip) I caught your point of view. I start reading a book on wxpython to understand if it can help to solve my problems. At the same time I will port my program to Python/Tk in order to have a faster first beta release. Thanks for your

OO on python real life tutorial?

2006-09-01 Thread filippo
Hello, I coded my +10k lines app using Perl/Tk. It is something like a hotel software manager, it has a bunch of windows to manage the arrivals, bills etc etc. I want to port this on Python/WxPython but I'd like to get benefit of python, not just doing a row by row raw porting. My problem is

Re: OO on python real life tutorial?

2006-09-01 Thread Fredrik Lundh
filippo wrote: I coded my +10k lines app using Perl/Tk. It is something like a hotel software manager, it has a bunch of windows to manage the arrivals, bills etc etc. I want to port this on Python/WxPython but I'd like to get benefit of python, not just doing a row by row raw porting. My

Re: OO on python real life tutorial?

2006-09-01 Thread Claudio Grondi
filippo wrote: Hello, I coded my +10k lines app using Perl/Tk. It is something like a hotel software manager, it has a bunch of windows to manage the arrivals, bills etc etc. I want to port this on Python/WxPython but I'd like to get benefit of python, not just doing a row by row raw

Re: OO on python real life tutorial?

2006-09-01 Thread filippo
thanks Fredrik and Claudio, probably structured coding paradigm is what I need. Claudio, could you explain better your sentence below? Claudio Grondi ha scritto: Python/Tk for it in order to avoid programming in wxPython if not really necessary (wxPython has its strengths with growing project

Re: OO on python real life tutorial?

2006-09-01 Thread filippo
Fredrik Lundh ha scritto: How many do you need ? ;-) (snip) thanks Fredrik, I know there are plenty of tutorials and manuals. I know what classes, inheritance and polymorphism are. My problem is that I cannot figure out how they can help me in my practical problem (my software). The only things

Re: OO on python real life tutorial?

2006-09-01 Thread Diez B. Roggisch
filippo schrieb: thanks Fredrik and Claudio, probably structured coding paradigm is what I need. Claudio, could you explain better your sentence below? Claudio Grondi ha scritto: Python/Tk for it in order to avoid programming in wxPython if not really necessary (wxPython has its

Re: OO on python real life tutorial?

2006-09-01 Thread filippo
Diez B. Roggisch ha scritto: I've been doing an online hotel reservation system, btw, and I assure you: OO was very helpful, even in its crappy PHP incarnation. thanks Diez, I'll keep trying OO paradigm. Probably the advantages will be clearer to me porting to python my app. Best regards,

Re: OO on python real life tutorial?

2006-09-01 Thread Claudio Grondi
filippo wrote: thanks Fredrik and Claudio, probably structured coding paradigm is what I need. Claudio, could you explain better your sentence below? Claudio Grondi ha scritto: Python/Tk for it in order to avoid programming in wxPython if not really necessary (wxPython has its strengths