Appearance
将字符串转换为下划线命名法
from usepy import snake_case
string
>>> snake_case('camelCase') 'camel_case' >>> snake_case('some whitespace') 'some_whitespace' >>> snake_case('hyphen-text') 'hyphen_text' >>> snake_case('HTTPRequest') 'http_request'