How to Convert a Python String to an Int and an Int to a String? September 19, 2019 by ChrisString β Integer:s = "42" i = int(s) # i == 42Integer β String:i = 42 s = str(i) # s == "42"