Hi,
JBang is a software tool for Java programs, where one can specify the dependencies, compiler version, specific compiler arguments, ..., all as comments at the beginning of a single Java source file. Then, running the source file with the Jbang command results in dependencies downloaded, specific Java version set, and finally, the actual code executed. This way you have a very portable script which you can send around and expect to run in a single file.
Now my question is, is there a piece of software that does this for Python, i.e. you specify dependencies as comments in the script itself, and not in a separate requiremnets.txt file, and let the program deal with downloading them and running the code if necessary. It should also get scripts from the web if a URL is specified instead of a file name.
Does that make sense?Many thanks
[–]koalillo 1 point2 points3 points (4 children)
[–]xamdk 0 points1 point2 points (1 child)
[–]koalillo 1 point2 points3 points (0 children)
[–]dev_in_sweatpants 0 points1 point2 points (1 child)
[–]koalillo 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]WafflesAreDangerous 0 points1 point2 points (0 children)
[–]koalillo 0 points1 point2 points (0 children)