labpack/parsing/conversion.py
def _to_python(input_string):
    ''' a helper method to convert camelcase to python'''
    python_string = ''
    for i in range(len(input_string)):
        if not python_string:
            python_string += input_string[i].lower()
        elif input_string[i].isupper():
            python_string += '_%s' % input_string[i].lower()
        else:
            python_string += input_string[i]
    return python_string
 a helper method to convert camelcase to python
a helper method to convert camelcase to python
a helper method to convert camelcase to python
def _to_python(input_string):
    python_string = ''
    for i in range(len(input_string)):
        if not python_string:
            python_string += input_string[i].lower()
        elif input_string[i].isupper():
            python_string += '_%s' % input_string[i].lower()
        else:
            python_string += input_string[i]
    return python_string
def _to_python ( input_string ) : python_string = '' for i in range ( len ( input_string ) ) : if not python_string : python_string += input_string [ i ] . lower ( ) elif input_string [ i ] . isupper ( ) : python_string += '_%s' % input_string [ i ] . lower ( ) else : python_string += input_string [ i ] return python_string
a helper method to convert camelcase to python
a helper method to convert camelcase to python
''' a helper method to convert camelcase to python'''
input_string