Irene181 Irene181
4年前
Python图形用户界GUI大解密(下篇)
上篇文章我们主要介绍了tkinter的安装、基本部件、下拉菜单、画布等内容,,这篇文章紧接着上篇文章继续围绕tkinter知识进行展开。十、框架又称窗口,它是在原先的基础上又创建一个窗口,一般课用于多个窗户交互,如聊天,打游戏,我们来看下:fmtk.Frame(root)在root上创建一个framefm.pack()添加进去在刚刚创建的fra
风花雪月 风花雪月
4年前
thinter加入背景图片
photoImagetk.PhotoImage(file"背景.png")theLabeltk.Label(root,         text"我是内容,\n请你阅读",内容         justifytk.LEFT,对齐方式         imagephoto,加入图片         compoundtk.CENTER,关键:设置为背
Easter79 Easter79
3年前
sshd_config注释
1root@H0f~cat/etc/ssh/sshd_config2updatebyH0f201803133$OpenBSD:sshd_config,v1.802008/07/0202:24:18djmExp$45Thisis
Wesley13 Wesley13
3年前
#180305nginx解析php出现502 Bad的问题
问题一常见502Bad的问题root@localhost~vi/usr/local/nginx/conf/vhost/test.com.conf将50fastcgi_passunix:/tmp/phpfcgi.sock;改错为50
Stella981 Stella981
3年前
Centos7
1\.下载zookeeper压缩包    \root@localhost(https://my.oschina.net/u/570656)tools\wgethttp://mirrors.shuosc.org/apache/zookeeper/zookeeper3.4.11/zookeeper3.4.11.tar.gz2\.
Easter79 Easter79
3年前
Tomcat架构具体配置与Zrlog网站安装
16.4配置Tomcat监听80端口编辑Tomcat配置文件root@localhost~vim/usr/local/tomcat/conf/server.xml……搜索8080,修改下面的内容位80<Connectorport"80"
Wesley13 Wesley13
3年前
Ubuntu按照wireshark后设置普通用户执行权限
1、添加wireshark用户组sudogroupaddwireshark2、将dumpcap更改为wireshark用户组sudochgrpwireshark/usr/bin/dumpcap3、让wireshark用户组有root权限使用dumpcapsudochm
Stella981 Stella981
3年前
CentOS 命令登录MySQL时,报错ERROR 1045 (28000) Access denied for user root
CentOS命令登录MySQL时,报错ERROR1045(28000):Accessdeniedforuserroot@localhost(https://my.oschina.net/u/570656)(usingpassword:NO)错误解决方法1、停用mysql服务:/etc/rc.d/init.d/mysqlds
Stella981 Stella981
3年前
PHP连接ssh服务器
首先需要安装php\_ssh2扩展,这里就不再赘述了。脚本实例:$connectionssh2_connect('127.0.0.1',22);ssh2_auth_password($connection,'root','yourpassword');$streamssh2_exec
Stella981 Stella981
3年前
Fedora 25如何安装LAMP
1.安装Apache切换到root用户:sudnfinstallhttpdy启动httpd服务,以在每次系统启动服务:systemctlenablehttpd使用以下命令来启动httpd服务:systemctlstarthttpd2.安装Mari