# GUI是Graphical User Interface(图形用户界面)的缩写。GUI程序有3个基本要素:输入、处理和输出。 # 常用的GUI框架 # wxPython: # Kivy:开源,主要关注创新型用户界面开发,如多点触摸应用程序。 # Flexx:纯python工具包,可使用web技术 ...
分类:
其他好文 时间:
2020-09-10 22:59:39
阅读次数:
47
ping localhost时出现: 在cmd中ping localhost解析出来的是ipv6的::1的原因是windows有个优先解析列表,当ipv6的优先级高于ipv4时,就会出现这种情况。 具体解决方法如下: 1.打开命令提示符:输入命令netsh interface ipv6 show p ...
分类:
其他好文 时间:
2020-09-10 22:39:28
阅读次数:
91
一、动态创建对象 1.新建一个接口:IDbHelper.cs public interface IDbHelper { void Query(); } 2.新建一个类:DbHelper.cs 继承 IDbHelper.cs 接口 public class DbHelper : IDbHelper { ...
分类:
其他好文 时间:
2020-09-07 19:08:28
阅读次数:
44
JDBC JDBC是什么? Java DataBase Connectivity(Java语言连接数据库) JDBC的本质是什么? JDBC是SUN公司制定的一套接口(interface) 接口都是有调用者和实践者。 面向接口调用、面向接口写实现类,这都属于面向接口编程。 为什么要面向接口编程? 解 ...
分类:
数据库 时间:
2020-09-04 17:24:26
阅读次数:
52
ip命令管理网卡:禁用网卡:iplinkseteth1down启用网卡:iplinkseteth1up更改名称:iplinkseteth1nameethwang添加IP:ipaddradd192.168.179.150/24deveth1labeleth1:0删除IP:ipaddrdel192.168.179.150/24deveth1labeleth1:0清楚网卡:ipaddrflushdeve
分类:
Web程序 时间:
2020-09-03 16:31:10
阅读次数:
134
Lambda表达式概念 Lambda表达式,从本质来讲,是一个匿名函数。可以使用这个匿名函数,实现接口中的方法。 函数式接口 一个接口中,要求实现类必须实现的抽象方法,有且只有一个。 interface Test() { void test(); default void test() {} //d ...
分类:
其他好文 时间:
2020-09-02 18:12:48
阅读次数:
51
Api: 数据访问层: public interface Iromdal { //显示房间信息表 List<Room> GetRooms(); //显示房间类别 List<Roomtype> Roomtypes(); //详情反填 Room Fant(int uid); //登录token User ...
分类:
Web程序 时间:
2020-08-27 13:10:20
阅读次数:
61
###关键字总览 访问控制 private protected public 类,方法和变量修饰符 abstract class extends final implements interface native new static strictfp synchronized transient ...
分类:
编程语言 时间:
2020-08-24 16:33:44
阅读次数:
46
待测试的服务接口: public interface ItemService { String getItemNameUpperCase(String itemId); } 预览 待测试的服务的实现类: @Service public class ItemServiceImpl implements ...
分类:
编程语言 时间:
2020-08-19 19:57:15
阅读次数:
70
1.su 命令:解决切换用户身份的需求,使得当前用户在不退出登录的情况下,顺畅地切换到其他用户。 比如从root 管理员切换至普通用户: [root@Centos test]# id uid=0(root) gid=0(root) groups=0(root) context=unconfined_ ...
分类:
其他好文 时间:
2020-08-19 19:55:44
阅读次数:
58