风花雪月 风花雪月
4年前
python中打开jpg的方法
在网上查到tkinter中PhotoImage只能打开gif文件,还不是仅仅改个后缀就完事的那种。而要打开的是一个.jpg文件。所以改用了ImageTk.PhotoImage
Easter79 Easter79
3年前
str字符串 count( ) 方法
描述Pythoncount()方法用于统计字符串里某个字符出现的次数。可选参数为在字符串搜索的开始与结束位置。语法count()方法语法:str.count(sub,start0,endlen(string))参数sub搜索的子字符串start字符串开始搜索的位置
Stella981 Stella981
3年前
JS获取本地ip的方法
<!DOCTYPEhtml<htmllang"en"<head<metacharset"UTF8"<title获取IP地址</title<scriptsrc"http://pv.sohu.com/cityjson?ieutf8"</script
Easter79 Easter79
3年前
The root element is missing 解决方法
Therootelementismissing解决方法参考文章:(1)Therootelementismissing解决方法(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.codeprj.com%2Fblog%2F23ed7a1.html)
Wesley13 Wesley13
3年前
CDN帮助网站加速的方法
CDN(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.impervaincapsula.cn%2Fcdn%25E5%2586%2585%25E5%25AE%25B9%25E5%2588%2586%25E5%258F%2591%25E7%25BD%2591%25E7%25BB
Stella981 Stella981
3年前
Linux中执行 .sh 的方法
linux下执行.sh文件的方法.sh文件就是文本文件,如果要执行,需要使用chmodaxxxx.sh来给可执行权限。是bash脚本么可以用touchtest.sh创建test.sh文件vitest.sh编辑test.sh文件加入内容!/bin/bashmkdirtest保存退出。
Stella981 Stella981
3年前
Postman 使用方法详细介绍
1,下载安装:https://www.getpostman.com/apps2,打开Postman,如图所示:!(https://oscimg.oschina.net/oscnet/00f434cd831f2f74fea6f6d7b86bc46a751.png)3,创建一个接口项目!(https://oscimg.oschina.
Stella981 Stella981
3年前
Caché到MySQL数据同步方法!
随着医疗行业信息化的发展,积累了大量的业务数据,如何挖掘这些数据,实现数据的可视化被提上日程,医院中通常有许多的信息化系统,使用的又都是不同厂商的数据库产品,如何统一汇聚数据,实现数据互通也是一个大问题。目前有一款数据交换软件TreeSoft数据库管理系统,可以实现异构的数据自动交换同步,目前支持MySQL,Oracle,SQLServe
Wesley13 Wesley13
3年前
Java运行Python脚本的方法
直接执行python脚本PythonInterpreter interpreter  new PythonInterpreter();interpreter.exec("print("123")");   ///执行python脚本执行python.py文件PythonInterpreter interpreter 
Stella981 Stella981
3年前
Scala 函数 方法 一样
2者除了定义的形式不一定,功能可以说是一致的,见如下代码packagescalapackage.funcwithmethod/CreatedbyGermmyon2018/4/29./classTestFuncAndMethod{}