龙空技术网

pyhton 字符串转列表

行动第一步更大的世界 58

前言:

今天咱们对“java 字符串转列表”大约比较关心,小伙伴们都需要分析一些“java 字符串转列表”的相关文章。那么小编也在网上网罗了一些对于“java 字符串转列表””的相关内容,希望同学们能喜欢,姐妹们一起来了解一下吧!

#navicat批量导出表名#show tables#结果导出#文件结果,不管是csv,excel还是txt,文件结构都一样#处理方法就是pyhton 字符串转列表#

test0='''judgment_document_9judgment_documents_9judgment_documents_6judgment_documents_4judgment_documents_3justice_case_flow_7justice_case_flow_9justice_case_flow_6justice_case_flow_9justice_court_9justice_court_77justice_court_98justice_court_88'''arr0= test0.split('\n')[1:-1]print(arr0)test1="1,2,3"arr1 = test0.split(',')print(arr1)

标签: #java 字符串转列表