摘要:
新方法连mysql:1.先安装: pip install mysqlclient2.settings.py中 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # 或者使用 mysql.connector.django 阅读全文
posted @ 2017-11-06 21:04
时间影像
阅读(73)
评论(0)
推荐(0)
摘要:
# -*- coding: utf-8 -*- import _thread from time import sleep, ctime def fun1(): sleep(2) print('aaaaaaaaaa') def fun2(): sleep(1) print('bbbbbbbbb') def main(): _thread.star... 阅读全文
posted @ 2017-11-06 21:03
时间影像
阅读(85)
评论(0)
推荐(0)

浙公网安备 33010602011771号