Added main xinfo.py

This commit is contained in:
amogus3016 2021-11-15 19:42:32 -05:00 committed by GitHub
parent 142a811bf1
commit d7fe66e1a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
xinfo.py Normal file
View File

@ -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}")