Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from Prouser123/sysinfo
Browse files Browse the repository at this point in the history
PyOS v.1.1
  • Loading branch information
jcxldn authored Jun 28, 2018
2 parents c298720 + 80d47f5 commit 06113fd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ A Python CLI made for Python 2.
We handle contributions through pull requests on GitHub. Active development is usually done in branches, which are then merged with master for final release.

For instructions on how to contribute, [please click here.](https://github.com/Prouser123/PyOS/blob/master/CONTRIBUTING.md)

# Notes
We try to follow the [SemVer Standard.](https://semver.org/)
2 changes: 1 addition & 1 deletion internal/extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class notes:
name = ("PyOS")
ver = ("1.0")
ver = ("1.1")
author = ("Prouser123")
helpmsg = ("Type 'help' for a list of commands.")

Expand Down
10 changes: 9 additions & 1 deletion internal/sysinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

# Import Libraries
import sys
import platform
import getpass
import socket
import os
# PyOS Scripts
import extra

Expand All @@ -13,4 +17,8 @@ def start():
print(extra.notes.name + " " + extra.notes.ver + extra.colors.ENDC)
# Print System Version
print("Python " + extra.system.pyVer)
print("OS: " + sys.platform)
print("OS: " + sys.platform)
print("Architecture: " + platform.machine())
print("User: " + getpass.getuser())
print("Hostname: " + socket.gethostname())
print("Home Directory: " + os.environ['HOME'])

0 comments on commit 06113fd

Please sign in to comment.