05 2023 档案
摘要:string formatJson(string json) { string result = ""; int level = 0; for (string::size_type index = 0; index < json.size(); index++) { char c = json[in
阅读全文
摘要:1.安装 pip3 install -U lesscode_tool 2.创建项目(目前仅支持创建lesscode-py,其他项目请用subcommand实现) 2.1创建lesscode-py项目 lesscodeTool new -d test 2.2创建django项目 lesscodeToo
阅读全文
摘要:import re def to_camel_case(x): """转驼峰法命名""" return re.sub('_([a-zA-Z])', lambda m: (m.group(1).upper()), x) def to_upper_camel_case(x): """转大驼峰法命名"""
阅读全文