Re: Python and Tkinter by John E Grayson
Tk has gone through some dramatic improvements since that time. One which has seen a lot of love is URL:http://www.tkdocs.com/. I agree with Ben. Tkinter (with ttk) is now a viable GUI framework. Key benefits of Tkinter/ttk to consider when evaluating other tool kits: 1. Tkinter/ttk is bundled with Python meaning distribution is almost painless. 2. Tkinter/ttk are very light weight in terms of the size they add to a distribution. Malcolm -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
On Wed, 16 May 2012 23:55:29 -0400, Mark R Rivet wrote: I have a copy of this book and was wondering how relevant the content is considering the publish date is 2000. Are people still using this information? Anyone have any experience with this book? I guess what I mean, is, any of the code in this book deprecated? or does it still contain information used today the same as then. I mean, I guess some things don't change right? For instance, the derivative of x^2 is 2x now and in the 1800's. A book written in 2000 will probably be targeting Python 1.5, which is seriously outdated. Most of the code will probably still work, but it will not be the best way to do things, and there will probably be a few minor things which act differently. If you already know Python, and just want to learn Tkinter, then using such an old book is probably acceptable, in my opinion. -- Steven -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
On 17 May 2012 09:53:40 GMT, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Wed, 16 May 2012 23:55:29 -0400, Mark R Rivet wrote: I have a copy of this book and was wondering how relevant the content is considering the publish date is 2000. Are people still using this information? Anyone have any experience with this book? I guess what I mean, is, any of the code in this book deprecated? or does it still contain information used today the same as then. I mean, I guess some things don't change right? For instance, the derivative of x^2 is 2x now and in the 1800's. A book written in 2000 will probably be targeting Python 1.5, which is seriously outdated. Most of the code will probably still work, but it will not be the best way to do things, and there will probably be a few minor things which act differently. If you already know Python, and just want to learn Tkinter, then using such an old book is probably acceptable, in my opinion. I am in the process of learning python, and want to learn tkinter for GUI stuff. Is tkinter what people are using for GUI? -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
On 5/17/2012 6:48 AM, Mark R Rivet wrote: I am in the process of learning python, and want to learn tkinter for GUI stuff. Is tkinter what people are using for GUI? tkinter is one of several GUI toolkits that can be used with Python. IIRC, most people use PyGTK or PyQt for serious projects. http://wiki.python.org/moin/GuiProgramming -- CPython 3.3.0a3 | Windows NT 6.1.7601.17790 -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
On 5/16/12 11:55 PM, Mark R Rivet wrote: I have a copy of this book and was wondering how relevant the content is considering the publish date is 2000. Are people still using this information? Anyone have any experience with this book? I guess what I mean, is, any of the code in this book deprecated? or does it still contain information used today the same as then. I mean, I guess some things don't change right? For instance, the derivative of x^2 is 2x now and in the 1800's. Mark Lutz' Programming Python has extensive coverage of Tkinter (it's a huge book and devotes several chapters to Tkinter), and has been updated at regular intervals, most recently in the last year or two; I've found it a very helpful reference and guide to Tkinter programming. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
Mark Lutz' Programming Python has extensive coverage of Tkinter (it's a huge book and devotes several chapters to Tkinter), and has been updated at regular intervals, most recently in the last year or two; I've found it a very helpful reference and guide to Tkinter programming. +1 I highly recommend Mark's book. An excellent resource on not only Tkinter, but many other Python topics as well. Malcolm -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
On May 17, 2012, at 9:07 AM, Kevin Walzer wrote: On 5/16/12 11:55 PM, Mark R Rivet wrote: I have a copy of this book and was wondering how relevant the content is considering the publish date is 2000. Are people still using this information? Anyone have any experience with this book? I guess what I mean, is, any of the code in this book deprecated? or does it still contain information used today the same as then. I mean, I guess some things don't change right? For instance, the derivative of x^2 is 2x now and in the 1800's. Mark Lutz' Programming Python has extensive coverage of Tkinter (it's a huge book and devotes several chapters to Tkinter), and has been updated at regular intervals, most recently in the last year or two; I've found it a very helpful reference and guide to Tkinter programming. I agree with Kevin's recommendation. I've just come off of a large GUI development effort using tkinter. In addition to Lutz' book, I highly recommend the 'google is your friend' approach -- there are quite a few decent or better references available, especially at the 'detailed topic' level. E.g., google 'tkinter listbox' and at least one of the top 3 or 4 hits will likely provide you whatever you need. Lutz will give you the grounding/overview and may have enough detail for what you want. Where and as not, do a google search and you should be good to go. FWIW, I picked up the book originally referenced and didn't find it particularly useful, especially given Lutz and the web. YMMV. cheers, Bill -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
On Wed, 16 May 2012 23:55:29 -0400, Mark R Rivet markrri...@aol.com wrote: I have a copy of this book and was wondering how relevant the content is considering the publish date is 2000. Are people still using this information? Anyone have any experience with this book? I bought the book years ago, hoping to learn about Tkinter. I was greatly disappointed: it seems to me that it's a book about Pmw. -- To email me, substitute nowhere-spamcop, invalid-net. -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
On Thu, 17 May 2012 07:48:50 -0400, Mark R Rivet markrri...@aol.com wrote: I am in the process of learning python, and want to learn tkinter for GUI stuff. Is tkinter what people are using for GUI? Tkinter is one option. PyGUI is another. More suggestions will probably accrete on this thread. -- To email me, substitute nowhere-spamcop, invalid-net. -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
I have used Grayson's book - purchased and read many years ago now though. I am only an occasional GUI programmer, but have recently moved away from Tkinter and ttk towards wxPython - mainly because I am very dissatisfied with the lack of widgets to choose from. (new from 2.7 on) ttk supposedly added to the basic TkInter kit but is extremely difficult to work out due to lack of documentation i.e. I quickly wanted to use styles and finding some easy documentation that explained how all that worked was impossible - despite searching the Internet for hours (perhaps I was just unlucky? :-)). For learning wxPython I am using wxPython in Action by Noel Rappin and Robin Dunn. Neither book is about learning Python though - they are both aimed at users who have at least a basic Python background and want to learn about the particular GUI toolkit in question. Even though I am on my first wxPython GUI, I am extremely happy that I made the switch - I am already using basic wxPython widgets that were just not available under TkInter/ttk, creating a much more intuitive interface (IMO :-)) for my users. Best of luck in your choices, Peter -- http://mail.python.org/mailman/listinfo/python-list
Re: Python and Tkinter by John E Grayson
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: If you already know Python, and just want to learn Tkinter, then using such an old book is probably acceptable, in my opinion. There are much more current resources though, which is important because not only Python but especially Tk has gone through some dramatic improvements since that time. One which has seen a lot of love is URL:http://www.tkdocs.com/. -- \“Without cultural sanction, most or all of our religious | `\ beliefs and rituals would fall into the domain of mental | _o__) disturbance.” —John F. Schumaker | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list