摘要: #!/usr/bin/python# -*- encoding:utf-8 -*-from sqlalchemy import *from sqlalchemy.orm import *engine=create_engine("sqlite:///./test.db")metadata=MetaData()party=Table('party',metadata, Column('id',Integer,primary_key=True), Column('name',String(32),nullable=False), 阅读全文
posted @ 2011-12-13 16:05 wuxi812 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 头文件debug_waitfunction allFile() { awk '{print NR,$0}' $fileName}function main() { echo " " echo "++++++++++++++++++++++++++++++++++++++++++" echo "|+++++++++++++++++输入提醒+++++++++++++++|" echo "|+++++++++1、调试操作:debug ++++++++++|" echo "|+++++++++(其 阅读全文
posted @ 2011-12-13 13:10 wuxi812 阅读(599) 评论(0) 推荐(0) 编辑
摘要: #!/bin/shawk 'BEGIN { flag="none"; }/^[ \t]*if/ { flag="if"; print NR next;}/^[ \t]*if/ { flag="if"; print yy NR}' wqx_src1.shwqx_src1.sh#!/bin/shecho "开始"read key if [ $key = "test" ]thenifthen} echo "好的"else echo "不好"fi 阅读全文
posted @ 2011-12-13 13:04 wuxi812 阅读(137) 评论(0) 推荐(0) 编辑