how to enable caps lock with python code example Example: python string caps lock >>> s = 'sdsd' >>> s.upper() 'SDSD'