码迷,mamicode.com
首页 >  
搜索关键字:open failed    ( 31328个结果
4-文件与os
文件备份与重命名 # 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
ESLint is disabled since its execution has not been approved or denied yet
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
MSF原则
一、MSF原则概述 1 、推动信息共享与沟通( Foster open communication ) 2 、为共同的远景工作( Work toward a shared vision ) 3 、充分授权和信任( Empower team members ) 4 、各司其职,对项目共同负责( Est ...
分类:其他好文   时间:2021-03-12 14:07:48    阅读次数:0
nginx 1.8编译安装
##安装依赖 yum install gcc gcc-c++ automake pcre pcre-devel zlip zlib-devel openssl openssl-devel ##解压 tar xf nginx-1.18.0.tar.gz -C /data/ ##创建虚拟用户 usera ...
分类:其他好文   时间:2021-03-12 13:27:36    阅读次数:0
Redis 安装配置
Redis 安装 安装准备: redis 压缩包 官网下载地址:https://redis.io/download 安装步骤: 第一步:安装 gcc 编译器 官网发布的 Redis 压缩包是 C 语言源码文件,要安装 Redis 需要 gcc 编译器来编译源码 输入安装 gcc 命令,如下: [ro ...
分类:其他好文   时间:2021-03-10 13:27:29    阅读次数:0
PHP配置 3. 配置open_basedir
open_basedir将网站限定在指定的目录,做目录的隔离 先在php.ini中设置open_basedir: # vim /usr/local/php/etc/php.ini //搜索open_basedir,改成如下 open_basedir = /usr/local/apache2.4/do ...
分类:Web程序   时间:2021-03-10 13:11:22    阅读次数:0
django error: django.db.utils.IntegrityError: NOT NULL constraint failed
用了一段时间的 python 的 django 框架,在修改 sqlite 数据库的时候遇到如下错误:django.db.utils.IntegrityError: NOT NULL constraint failed: new__ImageRecognition_answercx.user_id ...
分类:数据库   时间:2021-03-10 13:09:41    阅读次数:0
kubeadm init初始化时报错failed to pull image "k8s.gcr.io/kube-apiserver:v1.20.4": output: Error response from daemon: Get ht
在搭建k8s集群时需要初始化命令"kubeadm init",报错误,然后根据提示执行:"kubeadm config images pull",还报错,此处一万匹马在大草原奔腾~~~~~~~ 然后凭借自我感觉以及查询资料得出:是因为要下载k8s.gcr.io的docker镜像,但是国内连不上htt ...
分类:Windows程序   时间:2021-03-09 13:54:21    阅读次数:0
Error creating bean with name 'consoleConfig'
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'consoleConfig': Injection of autowired dependencies failed; ne ...
分类:其他好文   时间:2021-03-09 13:43:34    阅读次数:0
python 文件的读写
# open(r'e:\user\niuhanyang\xxxx\a.txt',)#原字符 操作文件 加r会读出来 f = open('a.txt','a+',encoding='utf-8') #三种模式 有中文要加上utf-8 读一共三种方式 r模式只能读不能写 只读模式 f = open('a ...
分类:编程语言   时间:2021-03-09 13:38:00    阅读次数:0
31328条   上一页 1 ... 28 29 30 31 32 ... 3133 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!