Python: ZSYS module (mimics SYS)
|
05-21-2023, 08:24 PM
(This post was last modified: 05-21-2023 08:30 PM by StephenG1CMZ.)
Post: #1
|
|||
|
|||
Python: ZSYS module (mimics SYS)
ZSYS aims to mimic some of the functionality of the sys module, which is provided with most python's, but is absent from the micropython on most calculators.
The aim of the initial implementation serves two purposes: To attempt to identify which calculator is running, which may be useful in tweaking portable code. And to emulate some functions that portable code might call in sys, where it is unavailable. Note: Those versions of the HP Prime that support Python will have sys built-in. Just use sys, unless you wish to make your code portable. With thanks to the contributions from this thread: https://www.hpmuseum.org/forum/thread-19962.html Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Python: ZSYS module (mimics SYS) - StephenG1CMZ - 05-21-2023 08:24 PM
RE: Python: ZSYS module (mimics SYS) - StephenG1CMZ - 05-21-2023, 08:27 PM
RE: Python: ZSYS module (mimics SYS) - rprosperi - 05-21-2023, 10:02 PM
RE: Python: ZSYS module (mimics SYS) - StephenG1CMZ - 05-21-2023, 11:26 PM
RE: Python: ZSYS module (mimics SYS) - StephenG1CMZ - 10-09-2024, 08:12 AM
RE: Python: ZSYS module (mimics SYS) - Guenter Schink - 10-09-2024, 09:22 PM
RE: Python: ZSYS module (mimics SYS) - StephenG1CMZ - 10-10-2024, 04:40 PM
RE: Python: ZSYS module (mimics SYS) - Guenter Schink - 10-17-2024, 08:09 PM
RE: Python: ZSYS module (mimics SYS) - StephenG1CMZ - 10-22-2024, 03:51 PM
|
User(s) browsing this thread: 2 Guest(s)