The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Pass parameter to Python?
09-07-2023, 11:22 AM (This post was last modified: 09-07-2023 02:02 PM by toml_12953.)
Post: #1
Pass parameter to Python?
How can I pass a parameter or parameters to a Python program called in an HPPL shell? The below doesn't work.

Code:
#PYTHON myfunc(x)
print(x);
#END

EXPORT PassParm(y)
BEGIN
myfunc(y);
END;

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Pass parameter to Python? - toml_12953 - 09-07-2023 11:22 AM
RE: Pass parameter to Python? - roadrunner - 09-07-2023, 11:55 AM
RE: Pass parameter to Python? - toml_12953 - 09-08-2023, 03:05 AM



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