conda conda-libmamba-solver file libarchive

JavaSE——File文件

File类 概述 java.io.File 类是文件和目录路径名的抽象表示,主要用于文件和目录的创建、查找和删除等操作。 构造方法 public File(String pathname) :通过将给定的路径名字符串转换为抽象路径名来创建新的 File实例。 public File(String p ......
文件 JavaSE File

[FastAPI-29]用户注册API-File字段需要在 Form之前

import typing from fastapi import FastAPI, Form, File, UploadFile from pydantic import BaseModel app = FastAPI(title="注册接口") ''' 1. 需要输入 账号 密码 头像 ''' ......
字段 API-File 用户注册 FastAPI 用户

rust extract text from pdf files

[dependencies] pdf-extract = "0.6.4" use pdf_extract::extract_text; fn main(){ let text = extract_text("1.pdf").unwrap(); println!("{:?}", text); } ......
extract files rust from text

npm package.json exports filed All In One

npm package.json exports filed All In One https://docs.npmjs.com/files/package.json https://docs.npmjs.com/cli/v9/configuring-npm/package-json/#main h ......
exports package filed json npm

linux中conda虚拟环境使用(便于项目切换)、pip和conda换源

虚拟环境相关代码: 1 #创建虚拟环境 2 conda create -n your_env_name python=X.X(3.6、3.7、3.8) 3 4 #激活虚拟环境 5 source activate your_env_name(虚拟环境名称) 6 7 #退出虚拟环境 8 source d ......
conda 环境 项目 linux pip

Linux系统下安装conda环境变量设置

安装好conda后,设置环境变量 vim ~/.bashrc 添加 alias liuzhenPython='/home/riki/anaconda3/bin/python' export PATH="/home/riki/anaconda3/bin:$PATH" 然后source source ~ ......
变量 环境 系统 Linux conda

JavaSE🔟文件(File)

File:用于代表磁盘中的一个文件或文件夹(未必真实存在), 提供操作文件本身的方法。 1、常用属性 路径分隔符:; pathSeparator ``pathSeparatorChar` 名称分隔符:\ Separator SeparatorChar 抽象路径:path,即创建文件时指定的路径. / ......
文件 JavaSE 128287 File

虚拟机报错:AVD xxx is already running.If that is not the case, delete the files

试过很多方法,文件删除后,加载仍然出这个错误。 我之后又想想,再添加一个虚拟机怎样,添加后运行便可以了。 ......
the already running delete files

centos安装xampp后报错:egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

1、centos6.9安装xampp(xampp-linux-x64-7.0.21-0-installer.run)后启动的时候,报错: 2. 有人说少了glibc包,但是机器不缺少报错的包 3.正确答案: vi /opt/lampp/lampp 找到export LD_ASSUME_KERNEL= ......
shared file directory libraries loading

java.lang.UnsupportedClassVersionError: (class file version 61.0), this version of the Java Runtime only recognizes 52

问题背景,新建5个springboot modules。使用相同的依赖 pom.xml 文件。其中 4 个工程正常启动。有一个如图:GulimallWareApplication 跑不起来。报错版本不对。 本人机器上只配置了 1.8 的jdk。所以很纳闷。原以为是不是新版本 idea 自带(刚刚下载 ......

ansible 常用模块、scp、file、apt、service

文件传输 scp: Ansible 能够以并行的方式同时 SCP 大量的文件到多台机器. 命令如下: user1@master:~$ ansible host -i ansible_host -m copy -a "src=/home/user1/scptest.tar.gz dest=/home/ ......
模块 常用 ansible service file

Linux shell script auto generate batch files All In One

Linux shell script auto generate batch files All In One Linux shell script 自动批量生成文件 原理分析 定义成全局 cli command 接收参数 使用循环,动态批量生成文件 读取 template npm 发布 demos ......
generate script Linux shell batch

conda虚拟环境设置环境变量

conda虚拟环境中通过 os.environ.get("my_var") 方式是无法获得系统环境变量的。 我们需要单独设置conda当前环境的环境变量。设置命令如下: conda env config vars set my_var=value # 还可以通过-n指定要给那个虚拟环境设置自定义环境 ......
环境 变量 conda

conda channel

用conda安装软件的标准语法格式为: $ conda install -c <channel> <software> 其中 -c 这个参数很重要,通过它来指定软件下载的镜像位置。默认的conda channel是defaults,但这个channel的代码包不全,建议使用conda-forge c ......
channel conda

[FastAPI-18]Filed请求体校验

import random from fastapi import FastAPI from pydantic import Field, BaseModel import typing app = FastAPI() ''' 请求体的每一个字段需要单独校验 name 长度最少3位 price 不少 ......
FastAPI Filed 18

ignore the hidden files in python

import os root = "/Users/Siddhartha/Desktop/py scripts" for item in os.listdir(root): if not item.startswith('.') and os.path.isfile(os.path.join(root ......
ignore hidden python files the

File system specific implementation of LookupAndOpen [file] failed

一、问题描述: 某vm开机时,报错:文件系统特定的dOpen [file] 实施无效,无法启动虚拟机;“File system specific implementation of LookupAndOpen [file] failed。” 二、分析处理 1)可能原因: 使用sesparse vmd ......

【opencv】python配置opencv环境后,读取图片,报错:can't open/read file: check file path/integrity

1、报错原因 路径中出现中文字符 2、处理方法 修改文件路径为英文 参考链接: https://blog.csdn.net/qq_54000767/article/details/129292229 ......
opencv file integrity 环境 python

在vscode中添加conda终端

正常安装了miniconda和vscode后,在vscode中没有conda的terminal配置和终端选项。 从开始菜单找到conda powershell的快捷方式文件,打开其属性,复制目标一栏的内容,分成两段,一段是powershell可执行文件的路径,一段是运行conda配置的参数。填写到v ......
终端 vscode conda

【git】解决gogs迁移后报错remote: hooks/pre-receive: line 2: /data/gogs/gogs: No such file or directory

【gogs迁移后错误提示】 remote: hooks/pre-receive: line 2: /data/gogs/gogs: No such file or directory To http://192.168.1.129:53000/yin.xia/sgs-vue.git ! [remot ......
gogs pre-receive directory receive remote

pikachu- file include (local )、(remote)、unsafe filedownload 、filedupload

文件包含概述 File Inclusion(文件包含漏洞) 文件包含,是一个功能。在各种开发语言中都提供了内置的文件包含函数,其可以使开发人员在一个代码文件中直接包含(引入)另外一个代码文件。 比如 在PHP中,提供了: include(),include_once() require(),requ ......

ubuntu 报错 E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

比如输入apt-get install eclipse,或者apt-get update ,apt-get install git 会提示 E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission d ......
lock open lock-frontend Permission frontend

2023-03-21 npm i 时爆红 ENOENT: no such file or directory, rename

原因:package-lock.json或者yarn.lock文件冲突。 解决方案:删除这两个文件。 ......
directory ENOENT rename 2023 file

Python中NameError: No such file or directory 解决方法

问题 最近有小伙伴经常问到这个报错,今天来分享一下具体怎么解决。 [Errno 2] No such file or directory: './mnist_image_label/mnist_train_jpg_60000.txt' 这个没有查找到子文件或者子文件夹的问题 解决方法 首先,确定所写 ......
NameError directory 方法 Python such

在windows中,如何使用Out-File命令创建有内容的文件?

在windows中,如何使用Out-File命令创建有内容的文件? 打开PowerShell窗口。 输入要写入文件的内容,比如"Hello World"。 使用管道符|将内容传递给Out-File命令,并指定要创建的文件名,比如"test.txt"。 可以使用一些可选参数来控制输出的格式和编码,比如 ......
Out-File 命令 windows 文件 内容

Windows和Linux系统下的目录分割符及File.separator作用

Windows和Linux系统下的目录分割符及File.separator作用 1. Windows 此时可以使用/或者\\(需要转义) 2. Linux 此时只能使用使用/,使用\\会出错 注:当使用File.separator常量的时候,可以根据当前程序运行的系统自动选择默认分割符,可以提供程序 ......
separator 作用 Windows 目录 系统

input file 获取文件进度

<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style> #progress_bar { margin: 10px 0; padding: 3px; border: 1px solid #000; fo ......
进度 文件 input file

Python 修改json file

import json def print_hi(name): print(f'Hi, {name}') if __name__ == '__main__': print_hi('PyCharm') updateValue = 12345 with open('jsonfile/create_msp ......
Python json file

hdfs file system shell的简单使用

1、背景 此处我们通过命令行,简单的学习一下 hdfs file system shell 的一些操作。 2、hdfs file system shell命令有哪些 我们可以通过如下网址https://hadoop.apache.org/docs/current/hadoop-project-dis ......
system shell hdfs file

C# 11新特性之file关键字

C#11 添加了文件作用域类型功能:一个新的 file 修饰符,可以应用于任何类型定义以限制其只能在当前文件中使用。这样,我们可以在一个项目中拥有多个同名的类。 (目录) 示例 新建一个控制台程序,添加两个类,分别为File1.cs和File2.cs //File1.cs namespace Con ......
特性 关键字 关键 file