Update xinfo.py

This commit is contained in:
amogus3016 2021-11-16 08:35:29 -05:00 committed by GitHub
parent 094c4ea5db
commit dda13c3113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ xascii = '''___ ___
> <
/ . \
/__/ \__\ '''
# The xascii variable allows the user to easily change the ascii art by pasting it between the triple quotes
my_system = platform.uname()
@ -19,6 +20,6 @@ print(f"OS: {my_system.system}") # Prints the OS
print(f"Host: {my_system.node}") # Prints the user's hostname
print(f"Kernel: {my_system.release}") # Prints the kernel's version
print(f"Architecture: {my_system.machine}") # Prints the CPU's architecture
print("===============")
print("===============") # Prints the separator line
# xinfo is licensed under the GNU GPL