摘要:        
###code #!/usr/bin/python3 import os import csv import sqlite3 curDir = os.getcwd() class Txt2Db: def startLoad(self): # open the database self.connec    阅读全文
posted @ 2021-05-21 09:11
cnblogs_kk
阅读(53)
评论(0)
推荐(0)
        
            
        
        
摘要:        
最近在使用sqlite存储数据,发现如果tableName中含有"-",如"xx-yyy" 1.sqlite3.OperationalError: near "-": syntax error 在python中操作时需要将tableName用**[]**包含: CREATE TABLE[tra-16    阅读全文
posted @ 2021-05-21 08:59
cnblogs_kk
阅读(2692)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号