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 Saimadhav.Heblikar, SilentGhost, jesstess, taleinat, terry.reedy
Date 2018-10-09.20:25:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539116727.76.0.545547206417.issue21880@psf.upfronthosting.co.za>
In-reply-to
Content
Idlelib modules OutputWindow and configHandler are now outwin and config.

I discovered a non-checker .py file consumer.  Pygame Zero enables use of pygame to create games without boilerplate.
https://pygame-zero.readthedocs.io/en/stable/ide-mode.html
One can run a mygame.py file containing, for instance,

WIDTH = 800
HEIGHT = 600

def draw():
    screen.clear()
    screen.draw.circle((400, 300), 30, 'white')

from a command line with 'pgzrun mygame.py'.

In this case, one can instead run from an IDE by adding boilerplate lines 'import pgzrun' and 'pgzrun.go()' at top and bottom.  But there might be people (or instructors) who prefer, if possible, to enable pgzrun as a 3rd party .py file consumer with the 'checker' option.


One issue with configparser is that it does not read comments in a .cfg file and therefore overwrites them when overwriting a file.  We might add a multiline 'comment' option to each application section.
History
Date User Action Args
2018-10-09 20:25:27terry.reedysetrecipients: + terry.reedy, taleinat, SilentGhost, jesstess, Saimadhav.Heblikar
2018-10-09 20:25:27terry.reedysetmessageid: <1539116727.76.0.545547206417.issue21880@psf.upfronthosting.co.za>
2018-10-09 20:25:27terry.reedylinkissue21880 messages
2018-10-09 20:25:27terry.reedycreate