Post Reply 
How can I discover which version of Python I am running?
05-17-2023, 07:04 AM (This post was last modified: 05-17-2023 08:14 AM by StephenG1CMZ.)
Post: #4
RE: How can I discover which version of Python I am running?
Ah, so there are two alternatives.
The try import hpprime matches how the other calculators are detected.
But the prime version also has sys.platform.
That has the advantage that sys.platform will also show if the code is running on non-calculator hosts.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How can I discover which version of Python I am running? - StephenG1CMZ - 05-17-2023 07:04 AM



User(s) browsing this thread: 1 Guest(s)