Re: [Pythonmac-SIG] Some test code

2011-02-03 Thread Christopher Barker
On 2/2/11 8:45 PM, Chris Rebert wrote: Also, your question isn't Mac-specific, so for future reference, it would have been better posed to the more general and widely-read python-list (http://mail.python.org/mailman/listinfo/python-list ). or better yet, the python tutor list: http://mail.pyt

[Pythonmac-SIG] Problems with py2app

2011-02-03 Thread Gerhard Schmidt
HI, I try to generate an MacOSX app from one of my wxPython projects. but I've run into some problems with py2app. when I run python setup.py py2app i get the following error running py2app creating /home/users/estartu/projekte/acf/vereinsverwaltung/dist *** filtering dependencies *** 242 tot

Re: [Pythonmac-SIG] Some test code

2011-02-03 Thread Chris Rebert
> On 3 February 2011 07:48, Henning Hraban Ramm wrote: >> Am 2011-02-03 um 05:45 schrieb Chris Rebert: >> if (card == "Hearts" or card == "Diamonds"):    print "That card is Red" elif (card == "Spades" or card == "Clubs"):    print "That card is Black" >>> >>> Note that th

Re: [Pythonmac-SIG] Some test code

2011-02-03 Thread Fandekasp
If you have only 4 type of cards, it's even better to write a oneliner : print card in ["Hearts", "Diamonds"] and "That car is red" or "That card is > Black" On 3 February 2011 07:48, Henning Hraban Ramm wrote: > Am 2011-02-03 um 05:45 schrieb Chris Rebert: > > > if (card == "Hearts" or card