码迷,mamicode.com
首页 >  
搜索关键字:file python3    ( 63124个结果
git commit后,如何撤销commit
修改了本地的代码,然后使用: git add file git commit -m '修改原因' 执行commit后,还没执行push时,想要撤销这次的commit,该怎么办? 解决方案: 使用命令: git reset --soft HEAD^ 这样就成功撤销了commit,如果想要连着add也撤 ...
分类:其他好文   时间:2021-05-24 04:41:38    阅读次数:0
Java读取json文件转换为json
在项目中遇到读取以json格式存储的配置文件,为了方便操作,将文件内容读取出来并转换为json对象,本文使用的是fastjson import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import org. ...
分类:编程语言   时间:2021-05-24 04:37:23    阅读次数:0
scala读取json
import scala.util.parsing.json.JSON._import scala.io.Source val js_file="pspldata.area%s_tableMapping.json".format(1)val js_source = Source.fromFile(j ...
分类:Web程序   时间:2021-05-24 04:09:53    阅读次数:0
ThinkPHP报错 The requested URL /admin/index/login.html was not found on this server.
解决方案在入口文件夹public下查看.htaccess是否存在。不存在则新建,存在的话,那内容替换为下面这串代码 就可以解决Not Fund #<IfModule mod_rewrite.c># Options +FollowSymlinks -Multiviews# RewriteEngine ...
分类:Web程序   时间:2021-05-24 04:03:07    阅读次数:0
linux 删除文件夹下文件
1:删除当前目录下 后缀为 ”.***“的文件 find -name "*.txt" -exec rm -f '{}' \; 删除后缀为.txt的文件 2:清空某个文件的内容 echo "" > filename ...
分类:系统相关   时间:2021-05-24 02:31:05    阅读次数:0
SM3
算法过程 代码实现 /************************************************************************ File name: SM3.c Version: SM3_V1.1 Date: Sep 18,2016 Description: ...
分类:其他好文   时间:2021-05-24 02:25:02    阅读次数:0
vue导出excel
1. 全部导出 <div class="toexcel"> <el-button @click="exportExcel" type="primary" class="button" style="width:70px;position:absolute;top:0;right:30px" >导出< ...
分类:其他好文   时间:2021-05-24 01:58:02    阅读次数:0
[nsis]安装包反编译
反编译出文件和.nsi脚本 【工具】 7z 15.05版 【下载地址】 https://sourceforge.net/projects/sevenzip/files/7-Zip/15.05/ https://jaist.dl.sourceforge.net/project/sevenzip/7-Z ...
分类:其他好文   时间:2021-05-24 01:52:45    阅读次数:0
【已解决】无法打开.xlsx文件,xlrd.biffh.XLRDError: Excel xlsx file; not supported
原因是最近xlrd更新到了2.0.1版本,只支持.xls文件。所以x1 = xlrd.open_workbook("data.xlsx")会报错。 可以安装旧版xlrd,在cmd中运行: 建议直接卸载新版本,下载xlrd旧版本 pip uninstall xlrd pip install xlrd= ...
分类:其他好文   时间:2021-05-24 01:37:35    阅读次数:0
c++可执行文件 管道 python 管道 c++可执行文件
在centos中使用管道进行参数的传输 运行格式 ./c++A | python3 p.py | ./c++B python脚本中使用标准输入和输出 stdin 和 stdout,python脚本参数是传输不到./c++B可执行文件的。 python 脚本中要使用 while True: line= ...
分类:编程语言   时间:2021-05-24 01:17:11    阅读次数:0
63124条   上一页 1 ... 31 32 33 34 35 ... 6313 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!