detection of python size