diff --git a/xinfo.py b/xinfo.py new file mode 100644 index 0000000..e1e3083 --- /dev/null +++ b/xinfo.py @@ -0,0 +1,18 @@ +import platform + +xascii = '''___ ___ +\ \ / / + \ V / + > < + / . \ +/__/ \__\ ''' + +my_system = platform.uname() + +print(xascii) +print("xinfo") +print("===============") +print(f"OS: {my_system.system}") +print(f"Host: {my_system.node}") +print(f"Kernel: {my_system.release}") +print(f"Architecture: {my_system.machine}")