Re: emdding python gui in c code - OS independent

2010-10-12 Thread Gregory Ewing
Diez B. Roggisch wrote: I don't know without further research why there is a difference between commandline and GUI-programs in OSX (I guess it has to do with the event loop or something) The MacOSX display server is rather picky about which processes it will allow to connect to it. One of the

Re: emdding python gui in c code - OS independent

2010-10-11 Thread Diez B. Roggisch
tinauser writes: > On Oct 11, 6:49 pm, Chris Rebert wrote: >> On Mon, Oct 11, 2010 at 6:16 AM, tinauser wrote: >> > hi there, >> > i need to embed python GUI in a c++ code. I've seen that,while on >> > windows running GUI is no problem, in mac i need to use pythonw >> > instead python. >> > the

Re: emdding python gui in c code - OS independent

2010-10-11 Thread tinauser
On Oct 11, 6:49 pm, Chris Rebert wrote: > On Mon, Oct 11, 2010 at 6:16 AM, tinauser wrote: > > hi there, > > i need to embed python GUI in a c++ code. I've seen that,while on > > windows running GUI is no problem, in mac i need to use pythonw > > instead python. > > the question is,how should i t

Re: emdding python gui in c code - OS independent

2010-10-11 Thread Chris Rebert
On Mon, Oct 11, 2010 at 6:16 AM, tinauser wrote: > hi there, > i need to embed python GUI in a c++ code. I've seen that,while on > windows running GUI is no problem, in mac i need to use pythonw > instead python. > the question is,how should i tell the program that if the OS is mac, > it should py

emdding python gui in c code - OS independent

2010-10-11 Thread tinauser
hi there, i need to embed python GUI in a c++ code. I've seen that,while on windows running GUI is no problem, in mac i need to use pythonw instead python. the question is,how should i tell the program that if the OS is mac, it should pythonw, otherwise python is fine? -- http://mail.python.org/ma