Jerkface (any/all)

  • 0 Posts
  • 6 Comments
Joined 3 years ago
cake
Cake day: June 6th, 2023

help-circle
  • This is probably a problem with how the question is being asked, but…

    A .py file is not an application. It might be a component of an application but there is no general way to “install” a .py file. If you are coming from microsoft, you can think of a .py file as similar to a .bat file, but it might also be more like a .dll file.

    If the .py file contains a script meant to be run like a .bat file, you can to run it from wherever you saved it using the Python interpreter. That is what is occurring in this example from your page:

    python3 rectarg.py R230122W.cht R230122W.txt output.tif --target_dpi 300 --background GS10 --label_axis_visible X=B

    The user is using the python3 command to run the rectarg.py script from the current directory, and passing it arguments with the rest of the commandline. This doesn’t require installing rectarg.py, just knowing the path (or in this case, being in that path).