Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63868

Re: Tkinter GUI Error

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Tkinter GUI Error
Date 2014-01-13 20:39 -0500
Organization IISS Elusive Unicorn
References <1ab2aa93-1ba6-48b0-a5f4-5fb05cb523d1@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.5434.1389663555.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, 13 Jan 2014 10:49:07 -0800 (PST), fluttershy363@gmail.com declaimed
the following:

>
>Inside the function is where I am having the problem, I am trying to get it to delete the label so that it may then replace it with a shorter text.
>Here is the full code:
>
	<snip>
>
>global num1
>global num2
>global num3

	These do not do what you think they do...

	"global" is used INSIDE of functions (def) to specify that references
to the name on the inside MUST access the module level name.

	Note: read-only access does not need "global"; only bindings to the
name (assignments) have to have the "global" otherwise they define a local
name.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Tkinter GUI Error fluttershy363@gmail.com - 2014-01-13 10:49 -0800
  Re: Tkinter GUI Error Lewis Wood <fluttershy363@gmail.com> - 2014-01-13 10:51 -0800
  Re: Tkinter GUI Error Christian Gollwitzer <auriocus@gmx.de> - 2014-01-13 20:03 +0100
    Re: Tkinter GUI Error Lewis Wood <fluttershy363@gmail.com> - 2014-01-13 11:21 -0800
  Re: Tkinter GUI Error Peter Otten <__peter__@web.de> - 2014-01-13 20:36 +0100
  Re: Tkinter GUI Error Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-13 20:39 -0500
  Re: Tkinter GUI Error Rick Johnson <rantingrickjohnson@gmail.com> - 2014-01-13 18:47 -0800
  Re: Tkinter GUI Error Chris Angelico <rosuav@gmail.com> - 2014-01-14 14:12 +1100
    Re: Tkinter GUI Error Lewis Wood <fluttershy363@gmail.com> - 2014-01-14 11:11 -0800
      Re: Tkinter GUI Error Lewis Wood <fluttershy363@gmail.com> - 2014-01-14 13:27 -0800
        Re: Tkinter GUI Error Christian Gollwitzer <auriocus@gmx.de> - 2014-01-14 22:33 +0100

csiph-web