• tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    37
    arrow-down
    1
    ·
    1 年前

    I wrote my webserver in pure bash.

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

    • MeanEYE@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      1 年前

      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.