Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

19 May, 2024: Line wrapping has been changed to be more consistent with Usenet standards.
 If you find that it is broken please let me know here rocksolid.nodes.help


devel / comp.lang.python / FYI: Modifying IDLE

SubjectAuthor
o FYI: Modifying IDLEStefan Ram

1
FYI: Modifying IDLE

<IDLE-20230619164036@ram.dialup.fu-berlin.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=23640&group=comp.lang.python#23640

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: FYI: Modifying IDLE
Date: 19 Jun 2023 15:49:38 GMT
Organization: Stefan Ram
Lines: 20
Expires: 1 Jul 2024 11:59:58 GMT
Message-ID: <IDLE-20230619164036@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de NXIetApyRNTvy4jY7nCMZQkcmWmAHiE4EnzjgAuq6lsD0S
X-Copyright: (C) Copyright 2023 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Accept-Language: de-DE-1901, en-US, it, fr-FR
 by: Stefan Ram - Mon, 19 Jun 2023 15:49 UTC

Where you can modify IDLE:

"getfilename" of "runscript.py": Right before "if autosave
and filename:", you can define your own filename for the case
that "not filename" is True. This way you can generate a new
filename there, and the user can just save a new (yet unnamed)
file without the hassle of having to think about a filename!

"writefile" of "iomenu.py": At the end of the try block you
can add additioncal code to save a copy of the file (with a
name that includes the current timestamp) to a separate backup
directory. Now, if you mess up, you can find previous versions
in that directory. (Who needs a version control system?)

"_setup_dialog(self)" in IDLE 3.11: Three calls to "_setup_dialog"
is everything that keeps IDLE 3.11 from running under Python
3.9. Ok, some dialogs may not appear as intended, but you probably
are not going to need them ...


devel / comp.lang.python / FYI: Modifying IDLE

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor