Re: a second TKinter

2006-02-10 Thread Steve Holden
linda.s wrote:
> On 2/10/06, Steve Holden <[EMAIL PROTECTED]> wrote:
> 
>>linda.s wrote:
>>
>>>On 2/10/06, Michael Foord <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>>
>>>>On 10/02/06, linda.s <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>>>I found if I opened a second TKinter, Python will go out of work. But
>>>>>I need two graph outputs at the same time. What to do?
>>>>>Linda.
[...]
> 
> so run from the terminal?

Yes, but wouldn't just trying that have been easier than asking me? ;-)

regards
  Steve
-- 
Steve Holden   +44 150 684 7255  +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006  www.python.org/pycon/

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: a second TKinter

2006-02-10 Thread linda.s
On 2/10/06, Steve Holden <[EMAIL PROTECTED]> wrote:
> linda.s wrote:
> > On 2/10/06, Michael Foord <[EMAIL PROTECTED]> wrote:
> >
> >>
> >>
> >>On 10/02/06, linda.s <[EMAIL PROTECTED]> wrote:
> >>
> >>>I found if I opened a second TKinter, Python will go out of work. But
> >>>I need two graph outputs at the same time. What to do?
> >>>Linda.
> >>>
> >>
> >>
> >>Hello linda (?),
> >>
> >>How are you opening a 'second Tkinter' ? There is no problem with having two
> >>top level windows at the same time, you can't hjave two 'mainloops' though.
> >>:-)
> >>
> >>All the best,
> >>
> >>Fuzzyman
> >
> > What does "having two top level windows" mean?
> > Can you give an example?
> > For opening a second tkinter, i mean that I run python using
> > PythonWin: if I run the code again when the first Tk is still open,
> > then the program will crash.
>
> You are actually doing well to run even *one* Tkinter-based application
> under PythonWin, since PythonWin is an MFC-based Windows application.
> There may well be conflict between the multiple windowing modules in use.
>
> Not a good idea to run GUI-based applications under an IDE that isn't
> designed to handle them. Sorry.
>
> regards
>   Steve
> --
> Steve Holden   +44 150 684 7255  +1 800 494 3119
> Holden Web LLC www.holdenweb.com
> PyCon TX 2006  www.python.org/pycon/
so run from the terminal?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: a second TKinter

2006-02-10 Thread Steve Holden
linda.s wrote:
> On 2/10/06, Michael Foord <[EMAIL PROTECTED]> wrote:
> 
>>
>>
>>On 10/02/06, linda.s <[EMAIL PROTECTED]> wrote:
>>
>>>I found if I opened a second TKinter, Python will go out of work. But
>>>I need two graph outputs at the same time. What to do?
>>>Linda.
>>>
>>
>>
>>Hello linda (?),
>>
>>How are you opening a 'second Tkinter' ? There is no problem with having two
>>top level windows at the same time, you can't hjave two 'mainloops' though.
>>:-)
>>
>>All the best,
>>
>>Fuzzyman
> 
> What does "having two top level windows" mean?
> Can you give an example?
> For opening a second tkinter, i mean that I run python using
> PythonWin: if I run the code again when the first Tk is still open,
> then the program will crash.

You are actually doing well to run even *one* Tkinter-based application 
under PythonWin, since PythonWin is an MFC-based Windows application. 
There may well be conflict between the multiple windowing modules in use.

Not a good idea to run GUI-based applications under an IDE that isn't 
designed to handle them. Sorry.

regards
  Steve
-- 
Steve Holden   +44 150 684 7255  +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006  www.python.org/pycon/

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: a second TKinter

2006-02-10 Thread linda.s
On 2/10/06, Michael Foord <[EMAIL PROTECTED]> wrote:
>
>
>
> On 10/02/06, linda.s <[EMAIL PROTECTED]> wrote:
> > I found if I opened a second TKinter, Python will go out of work. But
> > I need two graph outputs at the same time. What to do?
> > Linda.
> >
>
>
> Hello linda (?),
>
> How are you opening a 'second Tkinter' ? There is no problem with having two
> top level windows at the same time, you can't hjave two 'mainloops' though.
> :-)
>
> All the best,
>
> Fuzzyman
What does "having two top level windows" mean?
Can you give an example?
For opening a second tkinter, i mean that I run python using
PythonWin: if I run the code again when the first Tk is still open,
then the program will crash.
-- 
http://mail.python.org/mailman/listinfo/python-list


a second TKinter

2006-02-10 Thread linda.s
I found if I opened a second TKinter, Python will go out of work. But
I need two graph outputs at the same time. What to do?
Linda.
-- 
http://mail.python.org/mailman/listinfo/python-list