import os with open('a.txt','wb') as fp; file = open('a.txt','w',encoding = 'utf-8') # w是覆盖并且重新写入 file.write('Python') # 文件的杜西呃怎么打印出来是个中文字符 # print(fi ...
分类:
其他好文 时间:
2021-06-04 18:48:35
阅读次数:
0
一、查看端口占用情况: netstat -ano|findstr "9901" 9901是要查询的端口号 查询结果如图: 最后一行是进程的pid。 二、杀进程 taskkill /f /pid 612 612是要杀的进程pid /f表示强制执行 如果要根据进程的pid查看进程的详细信息: Ctrl+ ...
Error: I am getting following error while openning connection with Database from asp.net application. [SqlException (0x80131904): Login failed for use ...
分类:
移动开发 时间:
2021-06-03 18:29:29
阅读次数:
0
创建第一个启动shell脚本,如tomcat_restart.sh,内容 #/bin/sh tomcatmsg=$(ps -ef|grep tomcat|awk '{print $1$8}'|grep '/xxxx/xxx/xxxx/jdk/bin/java/'|wc -l) if [ $tomca ...
分类:
系统相关 时间:
2021-06-03 18:29:06
阅读次数:
0
转自:https://icyshuai.blog.csdn.net/article/details/72468109 历经一年多时间的系统整理合补充,《手机安全和可信应用开发指南:TrustZone与OP-TEE技术详解 》一书得以出版,书中详细介绍了TEE以及系统安全中的所有内容,全书按照从硬件到 ...
分类:
其他好文 时间:
2021-06-03 18:19:47
阅读次数:
0
方法一: 在 package.json 中添加 --open 方法二: 在 vue.config.js 中,devServer 添加加 open:true ,没有vue.config.js,自己创建一个 module.exports = { devServer: { open: true } } ...
分类:
其他好文 时间:
2021-06-03 18:18:31
阅读次数:
0
1、下载pdi-ce-9.0.0.0-423.zip并解压 2、windows下运行Spoon.bat 3、界面如下 4、转换上右键-新建-保存,另存为,然后关闭再打开就是打开的新建的文件 5、DB连接-新建 出现问题如下: Driver class 'org.gjt.mm.mysql.Driver ...
分类:
数据库 时间:
2021-06-03 18:16:41
阅读次数:
0
docker run -d -p 5672:5672 -p 15672:15672 --name rabbitmq -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin rabbitmq:3.8.16 docker exec -i ...
分类:
Web程序 时间:
2021-06-03 18:11:02
阅读次数:
0
部署jenkins远程发布,jenkins在A服务器上,如果链接B服务器并调用B服务器的脚本,启动springboot的jar,会没有响应,先开始的思路是ssh远程连接后启动B服务器脚本,发现没有任何反应,但jenkins内成功,就是jar起不起来,具体脚本内容如下: #!/bin/bash cd ...
分类:
编程语言 时间:
2021-06-03 17:59:35
阅读次数:
0
http://mozilla.com.cn/thread-352987-1-1.html http://mozilla.com.cn/thread-330960-1-1.html http://mozilla.com.cn/forum.php?mod=viewthread&tid=330960&pa ...