Message341850
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? |
|
Date |
User |
Action |
Args |
2019-05-08 04:06:46 | terry.reedy | set | recipients:
+ terry.reedy, gvanrossum, dhalbert, serhiy.storchaka |
2019-05-08 04:06:46 | terry.reedy | set | messageid: <1557288406.48.0.455047767994.issue36807@roundup.psfhosted.org> |
2019-05-08 04:06:46 | terry.reedy | link | issue36807 messages |
2019-05-08 04:06:46 | terry.reedy | create | |
|