摘要:        
文件 文件是否存在 test -f 判断文件是否存在 test -d 目录是否存在 test -e 文件名是否存在 通过echo $? 来得知test后的结果 test -f sh && echo yes || echo no 关于 &&符号 等前面的式子成功后再来执行后面的句子 成功为 0 失败为    阅读全文
        
            posted @ 2021-12-01 17:38
supermao12
阅读(312)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
这是一个使用python连接mysql的例子 涉及到类的使用 import pymysql import function as f def mysql(): db=pymysql.connect(host='localhost',user='root',password='1234',charse    阅读全文
        
            posted @ 2021-12-01 11:05
supermao12
阅读(986)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号