Post Reply 
How to run a specific python program or file ?
09-13-2023, 01:39 PM (This post was last modified: 02-15-2024 06:34 PM by komame.)
Post: #3
RE: How to run a specific python program or file ?
The best approach is to embed the Python script within a PPL program by labeling it as #PYTHON script_name. Then, you can refer to it from within PPL. The Python code area is not syntax-checked when using 'CHECK'; errors only appear after running the program.
Within a given Python script, you can create subroutines using 'def' and refer to them from the Python script itself. However, you cannot refer to your PPL-written subroutines from Python. You can execute PPL language commands using the 'hpprime' library.

https://www.hpmuseum.org/forum/thread-17076.html
https://www.hpmuseum.org/forum/thread-20468.html

Best regards,
Piotr
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to run a specific python program or file ? - komame - 09-13-2023 01:39 PM



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