Ankündigung

Einklappen
Keine Ankündigung bisher.

HS Logik Python Module Import

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    HS/FS HS Logik Python Module Import

    Hello,

    I am writing a HSL file and need to use/import a Python library that is not installed by default with the HS AFAICT (the "Requests" library i.e. Requests: HTTP for Humans ? Requests 2.1.0 documentation)

    How can I do that?

    I discovered that it is possible to embed full-fledge Python in the HSL by using the "encode("xxx")" "trick", so I was wondering if there was a similar trick for embedding a Python library.

    Thanks in advance!

    Sacha

    #2
    I'm aware that this post is seven years old... But I'll just ask, is it possible to embed the Requests library in a HS Logic module?

    I have a use case where the urllib is not working (on any platform...)

    Kommentar


      #3
      It is possible to use python libs with HS version 4.7 and newer. You can find some examples and the documentation under developer.gira.com (HSL2.0)

      Kommentar

      Lädt...
      X