# 1. 文件操作# 一个函数: open()函数,创建一个文件对象# 三个方法:read/write/close # 2.open()函数# 默认以只读方式r打开文件,并返回文件对象# open(filename, mode) filename文件名 mode访问模式# 2.1 打开文件# fil ...
分类:
其他好文 时间:
2021-03-16 12:01:10
阅读次数:
0
1、上传安装包至目录:如/opt/java,解压 tar -zxvf 2、修改环境 vim /etc/profile 3、使命令生效 source /etc/profile 4、验证是否安装成功 ...
分类:
其他好文 时间:
2021-03-16 11:46:19
阅读次数:
0
通过VS Code来实时预览markdown文件的效果,操作如下 新建一个文本文件,然后将其后缀名改成.md 然后用VS Code打开文件 打开命令行,在上菜单栏的view->command palette 或者用快捷键Ctrl+Shift+p 在命令行中输入Markdown: Open Previ ...
分类:
其他好文 时间:
2021-03-15 11:31:18
阅读次数:
0
python\小脚本\地址经纬度解析.py # -*- coding: utf-8 -*- """ Created on Thu Nov 24 10:10:13 2016 @author: Acer """ # -*- coding: utf-8 -*- #import sys, urllib, u ...
分类:
其他好文 时间:
2021-03-15 11:02:26
阅读次数:
0
文件备份与重命名 # 2种方式打开文件、备份文件、 import os # 打开文件 class FileOpen: @staticmethod def file_open1(file): fp = open(file, "w+", encoding="utf-8") # 无需flush,因为clo ...
分类:
其他好文 时间:
2021-03-15 10:54:22
阅读次数:
0
AssetBundle简称AB包,总的来说就是一总压缩文件,就是把Unity里面的资源进行打包压缩(唯独不能打包C#脚本) Unity其实也自带了打包功能,不过Unity是要把资源放到Resources文件夹下,然后对该文件下所有的文件进行打包,不管你用没用到,然后还只能使用Resources.Lo ...
分类:
其他好文 时间:
2021-03-15 10:52:55
阅读次数:
0
VS Code 装好ESLint 插件报黄线的问题,具体解决方法如下所示: ESLint is disabled since its execution has not been approved or denied yet. Use the light bulb menu to open the ...
分类:
移动开发 时间:
2021-03-15 10:51:43
阅读次数:
0
Error: Error launching source instance: Unsupported: The requested configuration is currently not supported. Please check the documentation for suppor ...
分类:
其他好文 时间:
2021-03-15 10:42:10
阅读次数:
0
一、MSF原则概述 1 、推动信息共享与沟通( Foster open communication ) 2 、为共同的远景工作( Work toward a shared vision ) 3 、充分授权和信任( Empower team members ) 4 、各司其职,对项目共同负责( Est ...
分类:
其他好文 时间:
2021-03-12 14:07:48
阅读次数:
0
<p><iframe name="ifd" src="https://mnifdv.cn/resource/cnblogs/Learn-NB-IOT-Air302-ForLua" frameborder="0" scrolling="auto" width="100%" height="1500"> ...
分类:
其他好文 时间:
2021-03-12 13:34:49
阅读次数:
0