this post was submitted on 25 Feb 2026
40 points (93.5% liked)
Linux
63238 readers
768 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is probably a problem with how the question is being asked, but...
A
.pyfile is not an application. It might be a component of an application but there is no general way to "install" a.pyfile. If you are coming from microsoft, you can think of a.pyfile as similar to a.batfile, but it might also be more like a.dllfile.If the
.pyfile contains a script meant to be run like a.batfile, 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:The user is using the
python3command to run therectarg.pyscript from the current directory, and passing it arguments with the rest of the commandline. This doesn't require installingrectarg.py, just knowing the path (or in this case, being in that path).You also need to make sure all the dependencies are installed. Those are usually listed in a
requirements.txtfile and can be installed withpip.