Exobyte.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:PyShit 作者: Matthww 项目源码 文件源码
def help_command_interface():
    cmd_cmd = lambda x: cprint(x, 'grey', 'on_white')
    cmd_cmd('Commands:')
    cmd_test = colored('test', attrs=['underline'])
    print(cmd_test + " {performs a test}")
    cmd_calc = colored('calc', attrs=['underline'])
    print(cmd_calc + " {A calculator}")
    cmd_clr = colored('clr', attrs=['underline'])
    print(cmd_clr + " {clears console}")
    cmd_rps = colored('rps', attrs=['underline'])
    print(cmd_rps + " {Rock Paper Scissors game}")
    cmd_screen = colored('screen', attrs=['underline'])
    print(cmd_screen + " {opens a window}")
    cmd_cat = colored('cat', attrs=['underline'])
    print(cmd_cat + " {opens a pic of the cutes kitty cat you'll ever see}")
    cmd_numgen = colored('numgen', attrs=['underline'])
    print(cmd_numgen + " {Generates random numbers}")
    cmd_passgen = colored('passgen', attrs=['underline'])
    print(cmd_passgen + " {Generates a random password}")
    cmd_chpass = colored('chpass', attrs=['underline'])
    print(cmd_chpass + " {Change your login password}")
    cmd_guess = colored('guess', attrs=['underline'])
    print(cmd_guess + " {Guess the number}")
    cmd_snow = colored('snow', attrs=['underline'])
    print(cmd_snow + " {Shitty falling snow}")
    cmd_datingsim = colored('datingsim', attrs=['underline'])
    print(cmd_datingsim + " {A dating simulator}")
    cmd_weather = colored('weather', attrs=['underline'])
    print(cmd_weather + " {Check the weather}")
    cmd_soon = lambda x: cprint(x, 'grey', 'on_white')
    cmd_soon('- More commands soon -')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号