Con= MySQLdb.connect(host='192.168.4.166',user='root',passwd='',db='test')
cur=Con.cursor()
cur.execute('insert into staff_daily(Date,Name,Task_num) values(curdate(),"nicole","'+str(nicole)+'")') //变量上也要加上双引号否则会报错

最新文章

  1. android持久化技术
  2. 剑指Offer:解决难题时的三大方法
  3. sphinx搜索引擎架构图
  4. ios 开发中 developer tools access 总是要输入密码问题的解决
  5. Flask框架获取用户IP地址的方法
  6. spoj 237
  7. A list of base boxes for Vagrant - Vagrantbox.es
  8. HDU-1372 Knight Moves (BFS)
  9. 构建ASP.NET MVC4+EF5+EasyUI+Unity2.x注入的后台管理系统(28)-系统小结
  10. Spring的bean管理(注解)
  11. [转载]PS各个工具的字母快捷键和英文全名
  12. vim 复制粘贴
  13. Flink官方文档/介绍/教程/用例
  14. www.jqhtml.com 前端框架特效
  15. Android查询不到电话号码解决方法
  16. lsof 命令
  17. linux下安装nginx以及常用命令指南
  18. LG2634 [国家集训队]聪聪可可
  19. Web of Science API
  20. Tomcat 访问Manager APP报403错误

热门文章

  1. Robot Motion - poj 1573
  2. Spring整合JMS(消息中间件)
  3. Linux守护进程简单介绍和实例具体解释
  4. php编译参数选项 具体参数含义可以用./configure --help来查看
  5. 安装virtualBox 增强包
  6. 自然常数e的神奇之美
  7. [转]linux terminal中使用proxy
  8. 九度OJ 1202:排序 (排序)
  9. [Oracle]根据字段值全库搜索相关数据表和字段
  10. java 分布式锁 -图解- 秒懂