异常信息如下: sh-4.2$ python begin.py Traceback (most recent call last): File "/usr/lib64/python2.7/logging/__init__.py", line 874, in emit stream.write(fs ...
分类:
其他好文 时间:
2020-05-04 15:30:24
阅读次数:
160
效果图: play.py #!/usr/bin/env python # _*_ coding: UTF-8 _*_ """ @Project -> File : Operate_system_ModeView_structure -> play.py @IDE : PyCharm @Author ...
第一种: 1 2 $file = 'x.y.z.png'; echo substr(strrchr($file, '.'), 1); 解析:strrchr($file, '.') strrchr() 函数查找字符串在另一个字符串中最后一次出现的位置,并返回从该位置到字符串结尾的所有字符直线导轨滑台 ...
分类:
Web程序 时间:
2020-05-04 13:47:47
阅读次数:
68
1、用于文件共享的协议:NFS(Network File System)与CIFS(Common Internet File System)。前者出现的早,用在Linux系统上;后者主要用于Windows系统,使用它很简单,在要共享的文件夹上右键-》属性,勾选共享就可以了,目前CIFS有3个版本:S ...
分类:
其他好文 时间:
2020-05-04 00:59:59
阅读次数:
76
package com.sxt.controller; import java.io.File; import java.io.IOException; import javax.servlet.http.HttpSession; import org.springframework.stereot ...
分类:
Web程序 时间:
2020-05-03 21:48:26
阅读次数:
83
1 """ 2 python建立pip.ini Aliyun源 3 2020年5月3日20:28:50 Venti Fang 4 """ 5 6 import os 7 8 ini = """ 9 [global] 10 index-url = https://mirrors.aliyun.com/ ...
分类:
编程语言 时间:
2020-05-03 21:44:23
阅读次数:
87
1. 在centos中安装memory_profiler 报了个错: 解决方式: 2.重新安装memory_profiler 输出如下: ok. 成功!记一下备忘。 ...
分类:
编程语言 时间:
2020-05-03 20:32:01
阅读次数:
108
①、服务器仓库:http:// https:// ftp:// file:// ②、客户端配置:/etc/yum.conf 每个仓库的公共配置 /etc/yum.repos.d 每个仓库自己的配置文件 ③、yum repolist 以启用的仓库 yum repolist all 所有仓库 yum c ...
分类:
其他好文 时间:
2020-05-03 20:12:30
阅读次数:
57
1.JSP java server pages.代替servlet程序 回传 html页面的数据给客户端进行显示。 创建:new java enterprise,在web下new jsp 访问:第一次访问jsp页面时,tomcat服务器会将jsp页面翻译成java源文件,并对其编译形成.class字 ...
分类:
Web程序 时间:
2020-05-03 18:23:27
阅读次数:
78
git stash save git stash list git stash show git stash apply stash@{0} //0为序号, git stash pop stash@{0} git stash drop stash@{0} :丢弃stash@{$num}存储,从列表中 ...
分类:
其他好文 时间:
2020-05-03 16:50:32
阅读次数:
49