我是靠谱客的博主 爱听歌狗,这篇文章主要介绍python 实现table name 首字母大写 (驼峰),现在分享给大家,希望可以做个参考。

要点:
数据分割
数据集成


stringId='DMDM_SUM_FACT_PATTERN_CHANLLAGE_POC_MQT'
print stringId.capitalize()
stringList = stringId.split('_')
stringListAfter= []
for x in  stringList:
    stringListAfter.append(x.capitalize())
print '_'.join(stringListAfter)

转载于:https://www.cnblogs.com/TendToBigData/p/10501214.html

最后

以上就是爱听歌狗最近收集整理的关于python 实现table name 首字母大写 (驼峰)的全部内容,更多相关python内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(249)

评论列表共有 0 条评论

立即
投稿
返回
顶部