摘要:
用户模块 用于记录注册用户信息 : 用户名、密码、电话、邮箱、身份证号、地址、姓名、昵称 : username, id number, phone number : 永久存储 商品模块 用于记录网站中所销售的商品信息 : 商品编码、商品名称、商品描述、商品品类、供应商名称、重量、有效期、价格 : ( 阅读全文
摘要:
```
import datetime
import os
import django script_path = os.path.dirname(__file__)
os.environ['DJANGO_SETTINGS_MODULE'] = 'project.settings'
django.setup() from django.contrib.auth.models import Us... 阅读全文
摘要:
CREATE TABLE CREATE TABLE ( INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY, VARCHAR(100) NOT NULL, VARCHAR(20) NOT NULL ); ALTER TABLE CHANGE `sex` VARCH 阅读全文
摘要:
download mysql http://dev.mysql.com/downloads/mysql/ configure environment D:\mysql\bin download the Microsoft Visual C++ 2013 Redistributable Package 阅读全文
摘要:
``` python manage.py migrate vi settings.py STATIC_ROOT = os.path.join(BASE_DIR, 'static/') python manage.py collectstatic ``` ``` ServerRoot "C:/xampp/apache" Listen 10.65.169.155:8080 LoadModule... 阅读全文
摘要:
There are som errors below 阅读全文
摘要:
```
#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# @Time : 2017/11/1 15:13
# @Author : otfsenter
# @File : t123.py import smtplib
from email.mime.multipart import MIMEMultipart
from email.... 阅读全文
摘要:
1 touch a clc.bat 2 touch a clcpp.bat 3 add clc.bat clcpp.bat to env 4 _vimrc 阅读全文
摘要:
```
jupyter notebook --no-browser --port=8898 --ip=127.0.0.1 --allow-root
``` ```
ssh -N -f -L 127.0.0.1:8898:127.0.0.1:8898 root@remote_ip
``` ```
http://127.0.0.1:8898
``` 阅读全文
摘要:
``` !/usr/local/bin/python coding: utf 8 import os import sys import time device = sys.argv[1] index = sys.argv[2] community = '' version = '1' limit 阅读全文