Invalid literal for int error in Python The Problem My Python script fails with this error: Value Error: invalid literal for int() with base 10: ''.