Re: Need a compelling argument to use Django instead of Rails
On 2006-07-24, Sybren Stuvel <[EMAIL PROTECTED]> wrote: > Jython isn't up to par with current Python versions either. But the last release is up to the level of C-Python 2.2 or so. I don't really feel like I'm missing that much with it. Dave Cook -- http://mail.python.org/mailman/listinfo/python-list
Re: Python GUI toolkit
On 2008-02-03, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > what would be the best python GUI toolkit, it must be cross platform. > > i have tried gtk, but it interface are real bad and its coding was difficult > so i dropped it, > > the only remaining are qt4 and wx, i would like to know if one of these or > any other toolkit is capable of creating good-looking GUI's, like in other > apps, for e.g, .net apps. > > i m a noob, and willing to learn, so difficulty is no problem The real way to see is by installing each along with their respective demos, looking over some of the demo code, and perhaps coding some simple apps in each. Qt4 has the most polished and complete API. When judging looks under the X-Window System, make sure to run qtconfig and try some of the other themes. WX seems to have more design warts (the layout system takes some getting used to), but is quite capable and flexible and probably has the most native look and feel under win32. The license is much more liberal for commercial use. Also, it comes with OS/X (both Tiger and Leopard), is easy to install under MSWindows). Dave Cook -- http://mail.python.org/mailman/listinfo/python-list
Re: Book Recomendations
On 2008-03-02, Jeff Schwab <[EMAIL PROTECTED]> wrote: > Python In A Nutshell: > http://www.oreilly.com/catalog/pythonian2/ Another vote for the Nutshell book, which I find a very useful and practical book. I never found the "Dive in" book useful. Dave Cook -- http://mail.python.org/mailman/listinfo/python-list
Re: GUI Programming
On 2009-04-12, Gabriel wrote: > I'm python newbie and i need to write gui for my school work in python. > I need to write it really quick, because i haven't much time .) > So question is, which of gui toolkits should i pick and learn? I heard > PyGTK and Glade are best for quick gui programming? Is it good for > beginner? Or is there something better? > I have some experience with java swing, btw.. I find PyQt the most pleasant to work with. It has a consistent, well thought out, sophisticated API. WxPython I find the least pleasant to work with. I particularly dislike the way it does layout, and it has a hodge podge of APIs. But it's what I use professionally because of the liberal license. For those using PyGtk, I'd definitely recommend trying Kiwi. Dave Cook -- http://mail.python.org/mailman/listinfo/python-list
Re: Which one is best Python or Java for developing GUI applications?
On 2009-05-05, srinivasan srinivas wrote: > Could you tell me does Python have any advantages over Java for the > development of GUI applications? You don't have to choose between them. You can program Swing applications in Jython. And Jython is just a jar that you can bundle in another jar for distribution just like any other Java jar. You will have to understand Java code to learn Swing, though. I suggest also looking into the Swing Application Framework and Netbeans. However, I would look at PyQt first (if the license requirements are OK). PyQT is well thought out, consistent, and featureful. And then maybe try wxPython if you need a more liberal license. wxPython is clunky and inconsistent, but gets the job done. Dave Cook -- http://mail.python.org/mailman/listinfo/python-list
Re: How is GUI programming in Python?
On 2008-04-10, Chris Stewart <[EMAIL PROTECTED]> wrote: > I've always had an interest in Python and would like to dabble in it > further. I've worked on a few very small command line programs but > nothing of any complexity. I'd like to build a really simple GUI app > that will work across Mac, Windows, and Linux. How painful is that > going to be? With wxpython and pyqt, it can be relatively painless. You can often just copy your code directly from one OS to the other and run it, and py2exe makes it easy to distribute python apps to windows users. I haven't tried packaging on OS X (with py2app?). > I used to be really familiar with Java Swing a few years > ago. I imagine it will be similar. Yes, the broad principles (event driven, single-threaded event loop) are pretty much the same. Note, if you really like Swing, you can use it from Jython. Your app would install and look like any other Java app to users (Jython is just another jar in your distribution), for good or ill. > Next, what would you say is the best framework I should look into? > I'm curious to hear opinions on that. We use wxPython at work because of the more liberal license. It's very capable and works well for us. However, for my own projects, I've switched to pyqt, which offers more complete application help (e.g. things like Actions) and uses MVC from the ground up rather than as an afterthought. I also find the pyqt API cleaner and more consistent; some aspects of wxpython still seem clunky to me. And the auto-completion solution offered on the wxPython wiki doesn't work on Mac, which pretty much killed it for my project. Dave Cook -- http://mail.python.org/mailman/listinfo/python-list
Re: How is GUI programming in Python?
On 2008-04-10, Paul Rubin wrote: > Well, it's a trade-off, the person wanted a cross platform gui and the > #1 hurdle for something like PyQt4 is getting it to work on each of > the platforms you desire to run on. Installing Pyqt on windows involves a couple "click to install" EXEs. On Linux, one uses yum or apt. Only on Mac is it marginally a bit harder. Dave Cook -- http://mail.python.org/mailman/listinfo/python-list
Re: How is GUI programming in Python?
On 2008-04-11, Gabriel Ibanez <[EMAIL PROTECTED]> wrote: > Why is nobody talking about pyGTK ? There are no limits with licenses (I > think) The OS X port is still pretty preliminary. Dave Cook -- http://mail.python.org/mailman/listinfo/python-list
