real_type
Get real type of a python string
Installation
$ pip install real_type
Use
from real_type import get_type
>>>get_type('5') is int
>>>True
>>>get_type('5.0') is int
>>>False
>>>get_type('4.3')
>>>float
Find true type of a string
Homepage Repository PyPI Python
pip install real_type
Get real type of a python string
$ pip install real_type
from real_type import get_type
>>>get_type('5') is int
>>>True
>>>get_type('5.0') is int
>>>False
>>>get_type('4.3')
>>>float