ValueError: invalid literal for int() with base 10: ''

Just for the record:

>>> int('55063.000000')
Traceback (most recent call last):
  File "", line 1, in 
ValueError: invalid literal for int() with base 10: '55063.000000'

Got me here...

>>> float('55063.000000')
55063.0

Has to be used!

 

ref:

1. https://stackoverflow.com/questions/1841565/valueerror-invalid-literal-for-int-with-base-10

你可能感兴趣的:(python)