摘要:
#!/usr/bin/env python#--*-- coding:utf-8 --*--__author__ = 'Kevin'def deco(func): def in_deco(xx,yy): print ('in deco') func(xx,yy) ...
阅读全文
posted @ 2016-01-12 13:30
__MagicPower
阅读(127)
推荐(0)
编辑
摘要:
from django.conf.urls import include, urlfrom django.contrib import adminfrom polls import viewsurlpatterns = [ url(r'^admin/', include(admin.site....
阅读全文
posted @ 2016-01-10 14:17
__MagicPower
阅读(170)
推荐(0)
编辑
摘要:
#!/usr/bin/env python#--*-- coding:utf-8 --*--__author__ = 'Kevin'import MySQLdb as mdbimport systry: conn = mdb.connect('localhost','root','redhat...
阅读全文
posted @ 2016-01-05 16:31
__MagicPower
阅读(254)
推荐(0)
编辑
摘要:
#!/usr/bin/env python#--*-- coding:utf-8 --*--__author__ = 'Kevin'import MySQLdb as mdbimport systry: conn = mdb.connect('localhost','root','redhat...
阅读全文
posted @ 2016-01-05 16:14
__MagicPower
阅读(148)
推荐(0)
编辑
摘要:
#!/usr/bin/env python#--*-- coding:utf-8 --*--__author__ = 'Kevin'import MySQLdb as mdbimport systry: fin = open("django.png") img = fin.read() ...
阅读全文
posted @ 2016-01-05 16:05
__MagicPower
阅读(126)
推荐(0)
编辑
摘要:
#!/usr/bin/env python#--*-- coding:utf-8 --*--__author__ = 'Kevin'import MySQLdb as mdbimport syscon = mdb.connect('localhost','root','redhat','test')...
阅读全文
posted @ 2016-01-05 15:48
__MagicPower
阅读(107)
推荐(0)
编辑
摘要:
#!/usr/bin/env python#--*-- coding:utf-8 --*--__author__ = 'Kevin'import MySQLdb as mdbimport syscon = mdb.connect('localhost','root','redhat','test')...
阅读全文
posted @ 2016-01-05 15:27
__MagicPower
阅读(138)
推荐(0)
编辑
摘要:
#!/usr/bin/env python#--*-- coding:utf-8 --*--__author__ = 'Kevin'import MySQLdb as mdbimport syscon = mdb.connect('localhost','root','redhat','test')...
阅读全文
posted @ 2016-01-05 15:19
__MagicPower
阅读(196)
推荐(0)
编辑
摘要:
#!/usr/bin/env python#--*-- coding:utf-8 --*--__author__ = 'Kevin'import MySQLdb as mdbimport syscon = mdb.connect('localhost','root','redhat','test')...
阅读全文
posted @ 2016-01-05 14:50
__MagicPower
阅读(214)
推荐(0)
编辑
摘要:
#!/usr/bin/env python#--*-- coding:utf-8 --*--__author__ = 'Kevin'import MySQLdb as mdbimport syscon = mdb.connect('localhost','root','redhat','test')...
阅读全文
posted @ 2016-01-05 14:39
__MagicPower
阅读(150)
推荐(0)
编辑