This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients lordmauve, terry.reedy
Date 2017-06-20.22:39:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
From your post, it was unclear to me what you are actually asking for.  From reading the bitbucket thread, it appears that you want something I cannot give you -- a built-in privileged position in IDLE.  However, as I said before, you can write a pgz extension.  An extension can add a menu entry and get a reference to the editor's tk Text widget.  It would be easy to write one that added needed boilerplate at the top and bottom of a file so that it is ready to run with F5.  The top part could end with
# Ignore everything above this line.
and the bottom part start with
# Ignore everything below this line.
With more effort, you could do probably do more to hide the boilerplate, but as I explained before, I have no motivation for that.
Date User Action Args
2017-06-20 22:39:40terry.reedysetrecipients: + terry.reedy, lordmauve
2017-06-20 22:39:40terry.reedysetmessageid: <>
2017-06-20 22:39:40terry.reedylinkissue24718 messages
2017-06-20 22:39:40terry.reedycreate