how to change srtring to int in python code example Example: python convert string to integer in base int(x, base=10) >>> int('s',base=29) 28