https://github.com/sk3pp3r/pyos
Detect OS with Python
https://github.com/sk3pp3r/pyos
linux macos operating-system pyos python sk3pp3r windows
Last synced: 9 months ago
JSON representation
Detect OS with Python
- Host: GitHub
- URL: https://github.com/sk3pp3r/pyos
- Owner: sk3pp3r
- Created: 2019-11-04T08:15:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-02T20:54:34.000Z (almost 2 years ago)
- Last Synced: 2025-03-16T21:24:48.121Z (about 1 year ago)
- Topics: linux, macos, operating-system, pyos, python, sk3pp3r, windows
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PyOS
## Detect your OS with Python
This simple python script identifying your os by using `platform.system()`.
Read more about `platform` library [here](https://docs.python.org/3.8/library/platform.html)
### Run it from a terminal:
Python3: `curl -s https://raw.githubusercontent.com/sk3pp3r/PyOS/master/pyos.py | python3 -`
#