Menu

Python

2024-02-07
2024-02-08
  • Jan R. Schelhaas

    I cannot get Python to wprk from a Cobol program. Do I need a special build?

     
    • Simon Sobisch

      Simon Sobisch - 2024-02-07

      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".

       
  • Anonymous

    Anonymous - 2024-02-07

    yes, here too, but I want it to work like in the documentation: display python("print(something)")

     
  • Anonymous

    Anonymous - 2024-02-08

    Do you mean the Python extension that GnuCOBOL can be built with?

     
  • Jan R. Schelhaas

    yapp

     
  • Patrick McCavery

    Sorry, I posted without logging in. Here is the link:
    https://gnucobol.sourceforge.io/faq/index.html#function-python

     
  • Jan R. Schelhaas

    Thanks, I'll try!

     

Anonymous
Anonymous

Add attachments
Cancel