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 dhalbert, gvanrossum, serhiy.storchaka, terry.reedy
Date 2019-05-08.04:06:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557288406.48.0.455047767994.issue36807@roundup.psfhosted.org>
In-reply-to
Content
I watched the talk by Nina Zakharenko at https://www.youtube.com/watch?v=35mXD40SvXM.  Since I love being able to save, compile, and run a file with one keystroke, I appreciate people wanting to do the equivalent with CircuitExpress and Adafruit.  In IDLE, print() output would appear in IDLE's Shell unless sys.stdout were replaced.

Dan's note suggests that flush/fsynch would be more generally useful than for the board.  I am inclined to add try: except: around the calls, and perhaps display a message "File was not saved" + traceback.

Dan, slightly OT, but I am curious whether one can access USB ports (in a system-dependent manner) directly from python code via os.system and ctypes?
History
Date User Action Args
2019-05-08 04:06:46terry.reedysetrecipients: + terry.reedy, gvanrossum, dhalbert, serhiy.storchaka
2019-05-08 04:06:46terry.reedysetmessageid: <1557288406.48.0.455047767994.issue36807@roundup.psfhosted.org>
2019-05-08 04:06:46terry.reedylinkissue36807 messages
2019-05-08 04:06:46terry.reedycreate