Re: Newbie help understanding...

2007-05-26 Thread cmpython
The problem is that in your function t is a string (one of the cards in the list called "cards") and strings don't have the ability to use the append method. But lists do. Therefore t.append is wrong but cards.append works fine. (Append means "take the list you have and add what is in the parent

Re: calling the function of one class from another class

2007-09-24 Thread cmpython
On Sep 24, 2:27 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Furkan Kuru wrote: > > > On 9/22/07, *Mridula Ramesh* <[EMAIL PROTECTED] > > > wrote: > > > hi. > > > i currently have code structured like this: > > > classA(): > > def __init__(): >

Re: Can you please give me some advice?

2007-09-30 Thread cmpython
> Hello World in Ruby (and a few other > languages):http://www.oreillynet.com/ruby/blog/2005/12/hello_world.html > Hello World in > Python:http://python.about.com/od/gettingstarted/ss/helloworld.htm I know nothing of Ruby, but just the fact that in Ruby the Hello World program is puts 'Hello,

Re: Diferent files: GUI (wxpython) Program

2007-10-11 Thread cmpython
On Oct 11, 5:44 pm, marc <[EMAIL PROTECTED]> wrote: > Hi why I can call an .py GUI (wxpython) from a program and control it? > I'm newbie in python. Sorry, could you restate that? Explain again what you want to do. -- http://mail.python.org/mailman/listinfo/python-list

Re: Diferent files: GUI (wxpython) Program

2007-10-11 Thread cmpython
On Oct 11, 7:47 pm, marc <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] escribió:> On Oct 11, 5:44 pm, marc <[EMAIL PROTECTED]> > wrote: > >> Hi why I can call an .py GUI (wxpython) from a program and control it? > >> I'm newbie in python. > > > Sorry, could you restate that? Explain again what

Re: Getting wxPython to work on a Mac

2007-12-05 Thread cmpython
On Dec 4, 9:35 pm, Timothy Smith <[EMAIL PROTECTED]> wrote: > Not sure exactly what I need to do to get wxPython to work on either of > my Macs. (One's a notebook running Tiger (OS X 10.4.11), the other a Mac > Pro running Leopard (10.5.1.)) > > I downloaded what should be the latest binary, and it

Re: newbie in python

2008-02-23 Thread cmpython
On Feb 21, 5:52 am, [EMAIL PROTECTED] wrote: > Hi anyone > > I'm very interesed to learn python and really willing to do so,but > unfortunately dont know where to start, or what programs need to > install to start. > > Can someone help me to get in the right track, and get a good move? > > Thanks f

Re: Boa Constructor Mac crash when adding menubar

2008-02-23 Thread cmpython
On Feb 21, 2:08 am, Jacob Davis <[EMAIL PROTECTED]> wrote: > hi. Every time I go through the Boa Constructor tutorial and I get to > the "Add a Menu Bar" section, Boa Constructor crashes after I select a > wx.menubar and then left click either in the Data or design frames. > > I saw a post on the