Home / Python Strings / How to Get String in Upper Case in Python In this example we will show how to get the string in upper case using the upper() method in Python. Source Code my_str = 'Python' print(my_str) print(my_str.upper()) Output: Python PYTHON