• nxdefiant
    link
    fedilink
    arrow-up
    28
    ·
    11 months ago

    Have you considered embedding python in those bash scripts? I have done this, and it is glorious.

    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      37
      arrow-down
      1
      ·
      11 months ago

      I wrote my webserver in pure bash.

      bash -c “python -m http.server 8080”

      • MeanEYE@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        11 months ago

        Did you know you can zip entire Python project into single file and make it executable? Quite a neat feature. Shove all dependencies, modules and assets in there and voila. Single file python application.