Post Reply 
Sharing Variables between Python and HPppl
05-17-2022, 03:45 PM
Post: #4
RE: Sharing Variables between Python and HPppl
I think you will have to store ans as a prime variable first:

from hpprime import *
eval("primevariable:=" + str(ans))
eval("pplprogram(primevariable)")

see if that works.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Sharing Variables between Python and HPppl - roadrunner - 05-17-2022 03:45 PM



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