Post Reply 
new user python on hp prime g2, casio cg50
10-20-2022, 11:21 PM
Post: #17
RE: new user python on hp prime g2, casio cg50
@drbarnack

Quote:This takes a value from the stack ("sys.argv[0]"), does the calculation in Python, prints the answer to the Terminal, parses the first string in the Terminal into an expression and evaluates it, leaving the answer on the stack for future use ("RETURN EXPR(TERMINAL(1));"). So in Home or CAS mode I can use Python scripts like any other function in the Toolbox to manipulate values.

Excellent explanation! Kindly tell what is this Terminal(1) what is this variable?

HP Prime G1
Python via Android Termux...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: new user python on hp prime g2, casio cg50 - Ioncubekh - 10-20-2022 11:21 PM



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