#flutter目录结构 其中有android和ios的建立目录,这里面可以先不关心,重要的是lib文件夹,里面有项目入口main.dart。还需要注意的是配置文件pubspec.yaml,里面的依赖项dependencies中可以写想要的依赖包,我们可以pubget来下载到本地。 #接下来是写代码 ...
分类:
移动开发 时间:
2021-06-08 22:37:52
阅读次数:
0
1.添加tomcat sever。 2.添加web。 可以直接选择web文件夹 3.配置web后有两个地方要注意: 3.1 output path 生成class文件的目录 3.2 然后就是导包了 ...
分类:
其他好文 时间:
2021-06-07 21:12:23
阅读次数:
0
一、打开文件 open(path,flag,encoding,[errors]) path:打开路径 flag:打开方式:【读r(read),写w(write),追加a(append)】 encoding:编码方式 errors:错误处理 二、详解flag r:只读。该文件必须已存在。 r+:可读可 ...
分类:
编程语言 时间:
2021-06-07 21:09:28
阅读次数:
0
@staticmethoddef unzip_file(failed_file): zip_file = zipfile.ZipFile(failed_file) print(zip_file) if os.path.isdir(failed_file[0:-20]): pass else: os. ...
分类:
编程语言 时间:
2021-06-07 20:42:48
阅读次数:
0
# # Django_静态文件夹的配置 # settings文件夹配置内容 # # STATIC_URL = '/static/' #别名,引用名 为了后端的更改不会影响前端的引入,避免造成前端大量修改 # STATICFILES_DIRS = ( # os.path.join(BASE_DIR," ...
分类:
其他好文 时间:
2021-06-07 20:39:36
阅读次数:
0
一、 . 导出JAR file Export-->JAR file,按如下设置后点“Finish” 二、 1.首先打开Android Studio,新建一个项目 2.接下来展开App目录,找到libs文件夹 3.然后将准备好的Jar包拷贝进去, 4.接着右键Jar包,选择Add As Library ...
分类:
移动开发 时间:
2021-06-07 20:35:17
阅读次数:
0
.vscode/tasks.json { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "t ...
分类:
编程语言 时间:
2021-06-07 20:25:28
阅读次数:
0
一、Compose介绍 Compose解决什么问题? 不使用Compose时的缺点: 只能手动操作(build, run)单个容器 无法同时运行多个容器 无法管理多个容器之间的依赖关系 Compose是什么? Compose就是用来定义、运行、管理多个docker容器的工具 - 批量容器编排。其是d ...
分类:
其他好文 时间:
2021-06-07 20:10:37
阅读次数:
0
1官网下载.exe文件,本文选择版本为4.5.2 https://opencv.org/releases/ 2 extract到D盘 3 添加环境变量,E:\opencv\build\x64\vc15\bin 4 将E:\opencv\build\x64\vc15\bin中的这两个文件放到C:\Wi ...
分类:
其他好文 时间:
2021-06-06 19:43:10
阅读次数:
0
1、参考文档:https://nodejs.org/dist/latest-v14.x/docs/api/path.html 2、path.basename:获取一个路径中的文件名(默认包含扩展名) path.basename('/foo/bar/baz/asdf/quux.html'); // R ...
分类:
Web程序 时间:
2021-06-06 19:35:28
阅读次数:
0