2017年10月25日

DOS 命令 os系统(windows)

摘要: 一、cd 相关操作 1."cd .. "or "cd ..\" --返回上一级 2.cd E:\Python -- 进入目录 二、dir --drectory 查看当前目录下的目录或者文件 三、查看文件 cd + "文件夹名称" ; 输入文件名称,回车--以1.txt 为例 四、创建文件夹 --md 阅读全文
posted @ 2017-10-25 15:20 Mr_Ken_e 阅读(814) 评论(0) 推荐(0)

wxPyhon 的控件(摘抄)

摘要: 一、静态文本控件 wx.StaticText(parent, id, label, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, name="staticText") wx.StaticText构造函数的参数 parent:父窗口部件。 阅读全文
posted @ 2017-10-25 11:14 Mr_Ken_e 阅读(604) 评论(0) 推荐(0)

wxPython 的简单框架实例

摘要: #coding:utf-8 import wx def load(event): file = open(filename.GetValue(),'r') contents.SetValue(file.read()) file.close() def save(event): file = open(filename.GetValue(),'w') ... 阅读全文
posted @ 2017-10-25 11:11 Mr_Ken_e 阅读(1020) 评论(0) 推荐(0)

merge 用法

摘要: SQL中 Merge 函数用于更新表的数据: Merge a using b on(a.id = b.id) when matched then update set name = b,name when not matched then insert a(id,name) values(b.id, 阅读全文
posted @ 2017-10-25 08:23 Mr_Ken_e 阅读(264) 评论(0) 推荐(0)