摘要:
>>>cur.execute("update users set username=%s where id=2",("mypython")) >>>cur.execute("select * from users where id=2") >>>cur.fetchone() >>>conn.comm 阅读全文
摘要:
print('我考了%d分'%20) msg=''' ---------info of %s----------- name: %s age: %d #字符串不能放到%d处 job: %s salary: %f you will be retired in %s years #数字可以放到%s处 ---------end----------... 阅读全文