上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页
摘要: 好久没有记笔记了,。。。 阅读全文
posted @ 2019-07-11 18:53 countryboy666 阅读(90) 评论(0) 推荐(0) 编辑
摘要: . '''sudo apt-get install python3-pyqt5#打开一个网页import用默认浏览器打开一个网页webbrowser.open('http://www.baidu.com')import sys#导入PyQt5的包from PyQt5.QtCore import QU 阅读全文
posted @ 2019-07-02 17:58 countryboy666 阅读(162) 评论(0) 推荐(0) 编辑
摘要: from tkinter import * window = Tk() window.title("myEntry") window.geometry('+400+600') # 输入的文本变为* 内容不可见 和QLineEdit 差不多 e=Entry(window,show='*') e.pack() def insert_point(): var = e.get() ... 阅读全文
posted @ 2019-07-02 17:40 countryboy666 阅读(114) 评论(0) 推荐(0) 编辑
摘要: '''列表listbox(root, stringvar, height)''''''from tkinter import*#改变itemdef changeItems(): print(cnames.get()) tnames = 'python','TCL','java' cnames.set 阅读全文
posted @ 2019-07-02 17:35 countryboy666 阅读(250) 评论(0) 推荐(0) 编辑
摘要: '''python Canvas(组件) 画布 和html5 中的画布一样可以将图形,文本,小部件 放置在画布上w = Canvas(master,option=value,...)master: 按钮的父容器 bd : 边框bg : 背景confine 不能移动到可滑动的区域外#导入图形库impo 阅读全文
posted @ 2019-07-02 17:34 countryboy666 阅读(97) 评论(0) 推荐(0) 编辑
摘要: '''pickle.dump(obj,file,[,prtocol])将obj对象序列化入已经打开的file中参数:obj要序列化的对象 file 文件名 protocol: 序列化使用的协议,默认为零 pickle.load(file) 功能: 将file中的对象读出来 pickle.dumps( 阅读全文
posted @ 2019-07-02 17:31 countryboy666 阅读(169) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace @enum//命名空间{ //大学管理系统 性别: 男 阅读全文
posted @ 2019-06-29 21:46 countryboy666 阅读(650) 评论(0) 推荐(0) 编辑
摘要: 树是有限集合: 有一个根。 root 根 subtree 子树 节点拥有的子树数成为结点的度;度为0 的节点称为叶节点 树结构: 根结点 无双亲 唯一, 叶节点: 无孩子 可以多个 中间节点 一个双亲多个节点。 抽象数据:ADT:树 Data: 一个结点和若干个字数 树中节点句用相同的数据类型 op 阅读全文
posted @ 2019-06-26 09:11 countryboy666 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 设置固定ip:etc /network/interfacesstartx 进入窗口环境 wifi修改密码: vi /etc/network/interfaces VNC Server :界面 方便进入startx sudo apt-get upgrade :更新安装设置 sudo apt-get t 阅读全文
posted @ 2019-06-24 22:40 countryboy666 阅读(158) 评论(0) 推荐(0) 编辑
摘要: <!-- p, li { white-space: pre-wrap; } --> <!--StartFragment-->#ifndef MAINWINDOW_H #define MAINWINDOW_H QT += core gui sql #include <QMainWindow> #inc 阅读全文
posted @ 2019-06-23 14:17 countryboy666 阅读(81) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页