码迷,mamicode.com
首页 >  
搜索关键字:python centos 中文 unicodedecodeerror 解决方案    ( 229028个结果
centos8 yum源
cat CentOS-Base.repo # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to p ...
分类:其他好文   时间:2021-07-19 16:46:42    阅读次数:0
centos gitlab部署
依赖安装 # 在CentOS系统上安装所需的依赖:ssh,防火墙,postfix(用于邮件通知) ,wget,以下这些命令也会打开系统防火墙中的HTTP和SSH端口访问。 yum install curl openssh-server openssh-clients postfix cronie - ...
分类:其他好文   时间:2021-07-19 16:46:25    阅读次数:0
【转】windows改变Sublime选中背景颜色
(43条消息) Mac上修改Sublime Text 3选中文本的背景色_gaoyp的专栏-CSDN博客https://blog.csdn.net/gaoyp/article/details/88990555 颜色表大全 颜色代码 设计配色表 网页配色表-www.5tu.cnhttps://www. ...
分类:Windows程序   时间:2021-07-19 16:45:43    阅读次数:0
delphi中常见错误提示说明
Delphi的中文错误提示 ';' not allowed before 'ELSE' ElSE前不允许有“;”'' clause not allowed in OLE automation section 在OLE自动区段不允许“”子句'' is not a type identifier 不是类 ...
分类:Windows程序   时间:2021-07-19 16:40:19    阅读次数:0
Python用函数判断输入的字符是不是数字,以及它是否大于等于0,如果大于0,返回它,小于0,返回它的相反数。
# 判断输入的字符是不是数字,以及它是否大于等于0,如果大于0,返回它,小于0,返回它的相反数。def function(x): if x.isdigit() and int(x) >= 0: # 判断是否都是数字,是的话赋予int型 return x elif x.isalpha(): # 判断是 ...
分类:编程语言   时间:2021-07-19 16:38:52    阅读次数:0
Shell脚本之——循环语句(for、while、until详解)
一、echo的用法 1、echo -n 表示不换行输出 2、echo -e 输出转义字符,将转义后的内容输出到屏幕上 常见的转义字符有: 2.1 \b 相当于退格键 转义后相当于退格键(backspace),但是前提是“\b”存在字符。“\b”表示删除前一个字符,“\b\b”表示删除前面两个字符 2 ...
分类:系统相关   时间:2021-07-19 16:32:19    阅读次数:0
FastAPI - most popular API framework in python
FastAPI https://fastapi.tiangolo.com/#performance FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based ...
分类:编程语言   时间:2021-07-16 17:45:01    阅读次数:0
centos 端口及防火墙
CentOS7查看开放端口命令及开放端口号 查看已开放的端口 firewall-cmd --list-ports 开放端口(开放后需要要重启防火墙才生效) firewall-cmd --zone=public --add-port=3338/tcp --permanent 重启防火墙 firewal ...
分类:其他好文   时间:2021-07-16 17:42:16    阅读次数:0
SecureCRT远程连接虚拟机CentOS的三种方式
当在VMware虚拟机中将CentOS安装成功后,会在win7系统中模拟出两个虚拟网卡:VMnet1和VMnet8,我们来查看一下,点击“控制面板—>查看网络状态和任务—>更改适配器设置”,出现如下界面: 打开虚拟机,选择“虚拟机—>设置”,弹出如下界面: 如果要保证虚拟机能够和物理机进行通信,或者 ...
分类:其他好文   时间:2021-07-16 17:40:35    阅读次数:0
python 将目录下所有文件夹的绝对路径写到文件中
import os dirlist = os.listdir() #打开文件 fo = open("dirs.txt","w") #遍历 for dir in dirlist: #判断如果是文件夹 if os.path.isdir(dir): #写 file.write(str(os.path.ab ...
分类:编程语言   时间:2021-07-16 17:33:40    阅读次数:0
229028条   上一页 1 2 3 4 5 6 ... 22903 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!