I cannot get Python to wprk from a Cobol program. Do I need a special build?
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
What do you mean with "cannot get it to work"?
It "works" here when I do a CALL "SYSTEM" USING "/path/to/executable/python/script/with/interpreter/line".
CALL "SYSTEM" USING "/path/to/executable/python/script/with/interpreter/line"
yes, here too, but I want it to work like in the documentation: display python("print(something)")
Do you mean the Python extension that GnuCOBOL can be built with?
yapp
Sorry, I posted without logging in. Here is the link: https://gnucobol.sourceforge.io/faq/index.html#function-python
It's not merged into the main trunk, you will need to get it here: https://sourceforge.net/p/gnucobol/code/HEAD/tree/branches/gnu-cobol-builtin-script/
Thanks, I'll try!
I cannot get Python to wprk from a Cobol program. Do I need a special build?
What do you mean with "cannot get it to work"?
It "works" here when I do a
CALL "SYSTEM" USING "/path/to/executable/python/script/with/interpreter/line".yes, here too, but I want it to work like in the documentation: display python("print(something)")
Do you mean the Python extension that GnuCOBOL can be built with?
yapp
Sorry, I posted without logging in. Here is the link:
https://gnucobol.sourceforge.io/faq/index.html#function-python
It's not merged into the main trunk, you will need to get it here:
https://sourceforge.net/p/gnucobol/code/HEAD/tree/branches/gnu-cobol-builtin-script/
Thanks, I'll try!