Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

linux: the choice of a GNU generation (ksh@cis.ufl.edu put this on Tshirts in '93)


devel / comp.lang.python / Re: Problem resizing a window and button placement

SubjectAuthor
o Re: Problem resizing a window and button placementMRAB

1
Re: Problem resizing a window and button placement

<mailman.8.1708822160.3452.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=29540&group=comp.lang.python#29540

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: python@mrabarnett.plus.com (MRAB)
Newsgroups: comp.lang.python
Subject: Re: Problem resizing a window and button placement
Date: Sun, 25 Feb 2024 00:49:16 +0000
Lines: 25
Message-ID: <mailman.8.1708822160.3452.python-list@python.org>
References: <06f101da66da$902357f0$b06a07d0$@SGA.Ninja>
<C72A9439-2300-4DCD-8A56-7C3AAE718EF4@barrys-emacs.org>
<070d01da66fa$5faea870$1f0bf950$@SGA.Ninja>
<31caf694-99fd-41ca-a98c-cb0d5d4a758e@tompassin.net>
<077801da6782$4f6046d0$ee20d470$@SGA.Ninja>
<13edcbad-1914-424c-97aa-3679eaf77fd8@mrabarnett.plus.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de Aer/+KY+3YqBXc8HQxTFPAGIA7mLe7bRGskBEn658sfA==
Cancel-Lock: sha1:G/r7Iatrlw/dASsZKWMax39xD7I= sha256:qc32of33/KjxEOtFb7l5Xz41RXnk+DDeOzYAZUtKBrM=
Return-Path: <python@mrabarnett.plus.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=plus.com header.i=@plus.com header.b=c5/YWmEm;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.005
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'variable': 0.05;
'apparently': 0.09; 'from:addr:python': 0.09;
'received:192.168.1.64': 0.09; 'problem.': 0.15; 'that.': 0.15;
'declare': 0.16; 'from:addr:mrabarnett.plus.com': 0.16;
'from:name:mrab': 0.16; 'functions,': 0.16; 'message-
id:@mrabarnett.plus.com': 0.16; 'received:plus.net': 0.16;
'using?': 0.16; 'variable.': 0.16; 'wrote:': 0.16; 'python': 0.16;
'to:addr:python-list': 0.20; 'tried': 0.26; 'local': 0.27;
'coming': 0.27; 'function': 0.27; 'header:User-Agent:1': 0.30;
'code,': 0.31; 'python-list': 0.32; 'unless': 0.32;
'received:192.168.1': 0.32; 'but': 0.32; 'same': 0.34; 'header:In-
Reply-To:1': 0.34; 'yes,': 0.35; 'received:192.168': 0.37; 'use':
0.39; 'rest': 0.39; 'steve': 0.39; 'both': 0.40; 'try': 0.40;
'method': 0.61; 'received:212': 0.62; 'shows': 0.67; 'within':
0.69; 'global': 0.73
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019;
t=1708822157; bh=F452kNYnnq2z082VV655pG47R/+K/kT1Hr+6xLDA8lA=;
h=Date:Subject:To:References:From:In-Reply-To;
b=c5/YWmEmPqvittiI3QvW0CkIYi2Kj06ZW1Vv6nSNxcdzPQ7MRY2DzaZu+qzlJ0UyW
zu8TNBcqx4tTBuMXKpJ1Im0zQHhtrpsbBxlhSp0ljpGVGsDwM2IWgtpw+W2wGqUynv
iI6qrPZ5m2pVFAtd78sYSUI7zuXOsjoDeXz8PGFNJPAzRyFuhsg9N/8qLg5JU6VBa8
MOeT04hbl3SFFymODNOFF0B+nsh0zX30JUJEXJ4RGIHCxO1rOxZZmSI0y6BAZiZn7x
9Mcaxp0Ajgc/NoCkXxdwIfFqcY+OaNWxzflHeEYLCkWnTtQbAseURIWGQcmyC5VyxM
ZhseGp4ZIwATQ==
X-Clacks-Overhead: "GNU Terry Pratchett"
X-CM-Score: 0.00
X-CNFS-Analysis: v=2.4 cv=JcEfrlKV c=1 sm=1 tr=0 ts=65da8e8d
a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17
a=IkcTkHD0fZMA:10 a=pOm48eeRhuTgDbKTNEoA:9 a=QEXdDO2ut3YA:10
X-AUTH: mrabarnett@:2500
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <077801da6782$4f6046d0$ee20d470$@SGA.Ninja>
X-CMAE-Envelope: MS4xfKqNbOP3khjuMOf3kult3Ojcaec8AigHo5/KK34VTHXdevRsJyQtzZ1o8Fr9mCAFSBbB6j/pezesjHk4Xc84mdbWHUB2VT8u99YREGezoFLT0GSH4NYm
QnyzhZtwaMuAIWltddZkkAuzomuGiwwZWPYw0rMtlD/07Fi9I4vcc1cFeCKTkqANtld74Kh7elqcGiAokRDkAk7YD/TSK7Ibyak=
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <13edcbad-1914-424c-97aa-3679eaf77fd8@mrabarnett.plus.com>
X-Mailman-Original-References: <06f101da66da$902357f0$b06a07d0$@SGA.Ninja>
<C72A9439-2300-4DCD-8A56-7C3AAE718EF4@barrys-emacs.org>
<070d01da66fa$5faea870$1f0bf950$@SGA.Ninja>
<31caf694-99fd-41ca-a98c-cb0d5d4a758e@tompassin.net>
<077801da6782$4f6046d0$ee20d470$@SGA.Ninja>
 by: MRAB - Sun, 25 Feb 2024 00:49 UTC

On 2024-02-25 00:33, Steve GS via Python-list wrote:
> "Well, yes, in Python a
> variable created inside a
> function or method is local to
> that function unless you
> declare it global."
>
> Yes, I knew that. I tried to
> global it both before the
> function call and within it.
> Same for when I created the
> variable. If I try to use it
> in the rest of the code, it
> keeps coming up as not
> declared. In other functions,
> I can 'return' the variable
> but that apparently would not
> work for this function.
>
> Is this type of function any
> different that that which I
> have been using?
>
Please post a short example that shows the problem.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor