This is a MOTD script written in python that displays a good bit of system info. includes a method to determine terminal size and print it in a box of pound signs
|
%!s(int64=7) %!d(string=hai) anos | |
---|---|---|
pyMOTD | %!s(int64=7) %!d(string=hai) anos | |
CONTRIBUTING.md | %!s(int64=7) %!d(string=hai) anos | |
CONTRIBUTING.txt | %!s(int64=7) %!d(string=hai) anos | |
CONTRIBUTING.txt~ | %!s(int64=7) %!d(string=hai) anos | |
LICENSE | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
README.rst | %!s(int64=7) %!d(string=hai) anos | |
makefile | %!s(int64=7) %!d(string=hai) anos | |
scr_pymotd.png | %!s(int64=7) %!d(string=hai) anos | |
setup.py | %!s(int64=7) %!d(string=hai) anos |
This is a rather simple MOTD program written in python3. Currently it displays:
Using standard ASCII escapes and some termios magic, it also prints this info in a box of hashes.
See CONTRIBUTING