kinoshitadaisuke / png2pdf

A small utility program to convert multiple PNG files into a single PDF file.
GNU General Public License v3.0
0 stars 1 forks source link

"#!/usr/bin/env python3" #1

Open kinoshitadaisuke opened 3 years ago

kinoshitadaisuke commented 3 years ago

At the beginning of the file, yes, it is a choice to use "#!/usr/bin/env python3", but on some operating systems, there is no "python3". Some systems are using "python3.9", "python3.8", ... So, "#!/usr/bin/env python3" does not work on some systems.

kinoshitadaisuke commented 3 years ago

TODO

reading following documents

https://packaging.python.org/tutorials/packaging-projects/ https://docs.python.org/3/distributing/index.html

natsuho-maeda commented 3 years ago

At the beginning of the file, yes, it is a choice to use "#!/usr/bin/env python3", but on some operating systems, there is no "python3". Some systems are using "python3.9", "python3.8", ... So, "#!/usr/bin/env python3" does not work on some systems.

Thank you for your advice, Kinoshita-san. So, it's OK to write "#!python3*" ? Sorry for the rudimentary question.