Re: tabs with tkinter

2014-11-29 Thread Terry Reedy
On 11/29/2014 2:50 AM, Peter Otten wrote: Terry Reedy wrote: On 11/28/2014 10:52 AM, Peter Otten wrote: ast wrote: I have been using tkinter for few weeks now and I didn't found how to make some tabs on a window. see this picture for a window with tabs http://www.computerhope.com/jargon/t/t

Re: tabs with tkinter

2014-11-29 Thread Steven D'Aprano
Terry Reedy wrote: > idlelib also has TreeWidget.py which works on all branches. Heh, I see what you did there :-) -- Steven -- https://mail.python.org/mailman/listinfo/python-list

Re: I love assert

2014-11-29 Thread Steven D'Aprano
MRAB wrote: > On 2014-11-29 01:30, Steven D'Aprano wrote: > [snip] >> I stress that assertions aren't a replacement for unit testing, but they >> compliment unit testing: assertions can help cover code missed by your >> unit tests, and check that your unit tests are correct. >> > [snip] > > I thi

Re: I love assert

2014-11-29 Thread Chris Angelico
On Sat, Nov 29, 2014 at 8:31 PM, Steven D'Aprano wrote: > Somibody swappid thi i and e kiys on my kiboard. You know the old rule. "I" before "E", except after "QW"... ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: PyEval_GetLocals and unreferenced variables

2014-11-29 Thread Gregory Ewing
Kasper Peeters wrote: I have something like def fun(): cfun_that_creates_q_in_local_scope() def fun2(): cfun_that_wants_to_see_if_q_is_available() So the Python side actually doesn't see 'q' directly at all. I am willing to elaborate on this if you want I think

Re: I love assert

2014-11-29 Thread Albert van der Horst
In article <87a93tl07u@elektro.pacujo.net>, Marko Rauhamaa wrote: >Chris Angelico : > >> On Sat, Nov 15, 2014 at 11:12 AM, Marko Rauhamaa wrote: >>> Most importantly, assertion failures are not supposed to be recovered >>> from (within the program). Assertion failures can result in the loss

Help needed

2014-11-29 Thread Gautam R Bharadwaj
Here is the code in python, this code arranges the alphabets in descending order and now I want to encode each alphabet with 0 and next alphabet with 1, then 00,01,10,11,000,001 and so on. Please help me with that. // //CODE

Re: I love assert

2014-11-29 Thread MRAB
On 2014-11-29 09:31, Steven D'Aprano wrote: MRAB wrote: On 2014-11-29 01:30, Steven D'Aprano wrote: [snip] I stress that assertions aren't a replacement for unit testing, but they compliment unit testing: assertions can help cover code missed by your unit tests, and check that your unit tests

Re: Are you Looking for Instructor's Solution Manual ?

2014-11-29 Thread David H. Lipman
From: i need Solution Manual Discrete Mathematics with Applications, 4th Edition by Susanna S. Epp He is a spammer. Please do not quote spam nor support their actions. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- htt

Re: I love assert

2014-11-29 Thread Ethan Furman
On 11/28/2014 05:30 PM, Steven D'Aprano wrote: > alister wrote: > >> And as may wiser people than me have already highlighted Assertions can >> be switched off in python which means they cannot be relied upon in >> production code invalidating the authors suggestion that they can >> automate bug r

Suds Python 2.4.3 Proxy

2014-11-29 Thread Jerry Rocteur
Hi, I posted this on the soap list but didn`t get a reply so I was hoping perhaps someone from this list could help me. I got my SOAP script working to GlobalSign, thanks to the help from Dieter and I can now download certificates with the script. I was running on Python 2.7 and it works great t