- 博客(80)
- 收藏
- 关注
原创 json.dump
with open('data.json', 'w') as f: json.dump(data, f)# Reading data backwith open('data.json', 'r') as f: data = json.load(f)
2020-07-31 17:32:31 254
原创 Python imageJ 终极大杀器
print("Open ImageJ Using Python...")import imagejij = imagej.init(ij_dir_or_version_or_endpoint=self.imageJRootPath, headless=False, new_instance=True)ij.ui().showUI()path = r'D:/Data/Aloe512.png'macro2 ='open("' + path + '");' + 'ru.
2020-07-31 17:12:19 870
原创 No plugin found for prefix ‘C‘ in the current project and in the plugin groups
No plugin found for prefix 'C' in the current project and in the plugin groups把pom文件放在文件夹下仍然不行
2020-07-30 17:21:22 978
原创 import scyjava 出错
import scyjava 出错Error in `C:\Users\XXXX\anaconda3\envs\pyimagej\Library\bin\mvn.CMD -B -f C:\Users\XXXX\.jgo\net.imagej\imagej\2.0.0-rc-65\pom.xml dependency:resolve': 1好难受!
2020-07-30 16:07:20 234
原创 Could not find metadata net.imagej:imagej/maven-metadata.xml in local
Could not find metadata net.imagej:imagej/maven-metadata.xml in local暂时没有找到解决方案
2020-07-30 14:45:07 578
原创 Python + imageJ 解决方案,采坑记录
Python + imageJ 解决方案,采坑记录方案一:ImageJ的Python脚本编程https://qixinbo.info/2018/09/15/imagej-python/方案二:jython建议放弃,因为jython很多包都pip install 不了方案三:pyimagej(注意不是imagepy,imagepy的作者是闫大),https://pypi.org/project/pyimagej/...
2020-07-30 10:15:01 2652
原创 pg的imageView循环播放
pg的imageView循环播放?def slotPlay(self): self.gViewGlobal.setCurrentIndex(0) self.gViewGlobal.play(rate = 10)添加了一个快捷键...
2020-07-28 23:51:28 210
原创 imageJ打不开mp4怎么办?
恐慌,imageJ打不开mp4怎么办?写个matlab脚本,把mp4转换成图像序列,xyloObj = VideoReader('D:\PythonProject\BrainMesoscopicAtlasExplorer\resources\2020-07-28-20-36-21.mp4');nFrames = xyloObj.NumberOfFrames;vidHeight = xyloObj.Height;vidWidth = xyloObj.Width;for k..
2020-07-28 21:02:39 3470
原创 matlab load pkl
function [a] = loadpickle(filename) if ~exist(filename,'file') error('%s is not a file',filename); end outname = [tempname() '.mat']; pyscript = ['import pickle;import sys;import scipy.io;file=open("' filename '", "rb");dat=pickle.load(file);fi...
2020-07-26 17:12:48 3149 1
原创 unable to find Qt5Core.dll on path
特别特别简单,百分百解决问题!把如下路径,添加到环境变量里。。。如果用户的电脑上,没有这些dll,就把dll拷贝过去,然后把路径添加到环境变量里。
2020-07-26 11:35:44 438
原创 渲染数据表格
--------------------------以上的方法能够渲染出来表格-----------------------下边的方法,能够直接获取数据库中的Data。
2020-07-25 18:17:16 123
原创 layui渲染的表格如何添加数据,layui数据接口请求异常:error
数据接口请求异常:errorlayui数据接口请求异常:errorFailed to load resource: the server responded with a status of 404 (Not Found)如何模拟,后台传过来了数据????非常简单:访问...
2020-07-25 15:21:29 5722
原创 用script渲染出来一张表
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>table模块快速使用</title><!-- <link rel="stylesheet" href="./layui/css/layui.css" media="all">--> <link rel = "stylesheet" href = "./l.
2020-07-25 14:26:34 192
原创 <script type=“text/javascript“ src=“./layui/layui.js“></script> 解析
<script type="text/javascript" src="./layui/layui.js"></script>type="text/javascript告诉我们<script ></script >这里边的东西是js codesrc告诉我们,layui.js这里边的function随便用,类似于python中的import语句...
2020-07-25 14:17:19 2485
原创 如何调用layui中的css文件?
如何调用layui中的css文件?<link rel = "stylesheet" href = "./layui/css/layui.css"><script type="text/javascript" src="./layui/layui.js"></script>按着ctrl,点击超链接, 如果能跳转,说明连接过去了。...
2020-07-25 13:50:31 942
原创 JS笔记?
<p id="demo">这是一个段落</p><button type="button" onclick="displayDate()">显示日期</button><button type="button"onclick="displayDate()">button的样子</button >学习 JS之前,要有html和css的基础??jetbrain有专门编写html的编辑器吗...
2020-07-24 17:49:28 238
原创 Controller、Entity、Mapper、Service都是干什么的?
Controller、Entity、Mapper、Service都是干什么的?Dao层是干啥的?数据访问层layuicontroller---->ViewController
2020-07-23 18:20:04 1497
原创 HTML乱码
HTML乱码<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2020-07-23 17:49:00 133
原创 如何开启redis?
D:\Softwares\redis-windows-master\src\msopentech\redis-64.2.8.2101运行?redis-server.exe
2020-07-22 15:23:01 202
原创 Web server failed to start. Port 8080 was already in use.
Web server failed to start. Port 8080 was already in use.关闭 tcp 8080号端口
2020-07-22 15:01:06 375
原创 检索 国家自然科学基金
参考https://www.zhihu.com/question/402518981/answer/1293383786https://isisn.nsfc.gov.cn/egrantindex/funcindex/prjsearch-list#
2020-07-21 16:32:57 681
原创 Hexo NexT 主题集成 utterance 评论系统
参考https://zhangzw.com/posts/20190720.html放弃了该方案之前的评论也找不见了
2020-07-20 17:59:28 274
原创 Commit failed - exit code 1 received
如何解決這個問題?先去submodel里边,$ cd themes/next$ git add .$ git commit -m "update"$ git push origin master然后在git push
2020-07-20 15:55:29 191
原创 git hexo next 主题采坑记录
这个主题是健康的git clone https://github.com/next-theme/hexo-theme-next themes/next好像这个主题有暗黑模式这个也是健康的git clone https://github.com/theme-next/hexo-theme-next.git themes/next这个主题是不健康的5.X的版本不健康...
2020-07-20 15:28:15 228 4
原创 github仓库,大仓库套小仓库,小仓库如何同步-submodule -双层 git git-仓库-套娃
github仓库,大仓库套小仓库,小仓库如何同步-submodule -双层 git这里有一个解决方案最简单直接的方案不是把git文件删除吗?- 问题是,下边没Git文件啊
2020-07-20 13:36:32 510
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人