Mac to Programmer [email protected] • 1 year agoYesprogramming.devimagemessage-square83fedilinkarrow-up1783arrow-down129
arrow-up1754arrow-down1imageYesprogramming.devMac to Programmer [email protected] • 1 year agomessage-square83fedilink
minus-square@[email protected]linkfedilink26•1 year agoHave you considered embedding python in those bash scripts? I have done this, and it is glorious.
minus-square@[email protected]linkfedilink35•1 year agoI wrote my webserver in pure bash. bash -c “python -m http.server 8080”
minus-square@MeanEYElink7•1 year agoDid 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.
Have you considered embedding python in those bash scripts? I have done this, and it is glorious.
I wrote my webserver in pure bash.
bash -c “python -m http.server 8080”
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.
PIGZ is an incredible standard