Jerkface (any/all)

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

help-circle






  • Jerkface (any/all)@lemmy.catoLinux@lemmy.mlHow to install .py apps?
    link
    fedilink
    English
    arrow-up
    30
    ·
    edit-2
    6 days ago

    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).








  • Whether they recognize it or not, all humans have religious needs. The need to feel like a good person (whether you are or not) is a religious need. The need to have hope for the future (whether hope is reasonable or not) is a religious need. The need for something bigger than yourself to look up to (regardless of how capable you are) is a religious need. People don’t always meet these needs through what would be recognized as an organized religion, but they still usually meet these needs through religious means.