Post Reply 
how to use HP PRIME commands in a python program
05-04-2021, 04:24 PM
Post: #1
how to use HP PRIME commands in a python program
Hello,
How can I use HP PRIME commands in a python program? How do I use, for example, the PIXON_P command in a python program?
Thanks a lot, Roberto.
Find all posts by this user
Quote this message in a reply
05-04-2021, 07:11 PM
Post: #2
RE: how to use HP PRIME commands in a python program
(05-04-2021 04:24 PM)robmio Wrote:  Hello,
How can I use HP PRIME commands in a python program? How do I use, for example, the PIXON_P command in a python program?
Thanks a lot, Roberto.

eval("PIXON_P ...")

replace ... with your parameters.
You don't need to use the HPPL version, though. Python has the graphics commands natively.

Just use
Code:
from hpprime import *

then use pixon or pixon_c in your program. It's a lot faster to do it that way.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
05-05-2021, 05:00 AM
Post: #3
RE: how to use HP PRIME commands in a python program
Thanks a lot, Roberto
Find all posts by this user
Quote this message in a reply
05-05-2021, 05:49 AM
Post: #4
RE: how to use HP PRIME commands in a python program
I ask another neophyte question: after writing a program with PYTHON, how can I call it up and make it work, in HOME or CAS screen?
Find all posts by this user
Quote this message in a reply
Post Reply 




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