The value of `sys.executable` is the string that represents the full path and program name of the python that is executing the print statement.
IOW, “/usr/lpp/IBM/cyp/v3r10/pyz/bin/python3” is the program that is executing. Peter From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Steve Estle Sent: Friday, December 13, 2024 4:20 PM To: [email protected] Subject: Python SDK Question Hi Everyone, I have friend/colleague developer who is struggling on some Python SDK for ZOS related information. He's been going "in circles" trying to find a description of below object and its properties (other than ".executable"). He's not sure if it is unique to the Python SDK environment or not? $ python3 -c "import sys; print(sys.executable)" /usr/lpp/IBM/cyp/v3r10/pyz/bin/python3 Anyone have answer or know where to point him to to get answers? TIA, Steve Estle -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
