pythontextblink

How to print blinking text in python


colorama is a package which is universal and will work independent of the platform. But it doesn't seem to support blinking text. Any other way this can be achieved in python ?


Solution

  • from termcolor import colored, cprint
    cprint('\nJames Everleigh', 'red', attrs=['blink'])
    

    cprint also allows bold, underlined, etc. and a small range of colors.