05 2015 档案
摘要:# encoding=utf-8class A(object): def __init__(self): print "初始化a" def run(self): print "运行a"class B(A): def __init__(self): ...
阅读全文
摘要:# encoding=utf-8from app.models import Studentfrom flask import gimport refrom flask.ext.wtf import Formfrom wtforms import StringField, RadioField, P...
阅读全文
摘要:remote: function (value, element, param) { //param 是你的rules中规定的参数,在这里肯定是remote中的参数了 //value是你输入的值 //element是你操作的元素,标签 if (this.optional(el...
阅读全文
摘要:from flask import Flaskfrom flask.ext.sqlalchemy import SQLAlchemyfrom flask.ext.migrate import Migrate, MigrateCommandfrom flask.ext.script import Ma...
阅读全文
摘要:# encoding=utf-8# /home/bergus/tongbu/360共享/编程语言# /home/bergus/桌面# /home/bergus/test/hhimport osimport shutil# 把文件src_file移动到目录dest_filedef move(s...
阅读全文
摘要:1 # encoding=utf-8 2 import cmd 3 import sys 4 5 6 # cmd模块练习 7 8 class Client(cmd.Cmd): 9 10 '''11 1)cmdloop():类似与Tkinter的mainloop,运行Cmd解析...
阅读全文
摘要:# Makefile for Sphinx documentation## You can set these variables from the command line.SPHINXOPTS ?=SPHINXBUILD ?= sphinx-buildPAPER ?=B...
阅读全文

浙公网安备 33010602011771号