码迷,mamicode.com
首页 >  
搜索关键字:python pip yum    ( 160088个结果
安装python模块是报错Requirement already satisfied: pymysql in c:\python27\lib\site-packages (0.9.2) Requirement already satisfied: cryptography in c:\python27\lib\site-packages (fr om pymysql) (2.3.1)
问题: 安装pymysql时报错 Requirement already satisfied: pymysql in c:\python27\lib\site-packages (0.9.2)Requirement already satisfied: cryptography in c:\pyth ...
分类:数据库   时间:2021-05-24 13:51:05    阅读次数:0
Linux yum命令
Linux yum命令 1. yum简介 yum( Yellow dog Updater, Modified)是一个在 Fedora 和 RedHat 以及 SUSE 中的 Shell 前端软件包管理器。 基于 RPM 包管理,能够从指定的服务器自动下载 RPM 包并且安装,可以自动处理依赖性关系, ...
分类:系统相关   时间:2021-05-24 13:44:45    阅读次数:0
Linux命令7
Linux RPM与YUM RPM安装文件,类似于setup.exe rpm -qa | grep firefox firefox-60.2.2-1.el7.centos.x86_64 名称:firefox 版本号:60.2.2-1 使用操作系统:el7.centos.x86_64 表示centos ...
分类:系统相关   时间:2021-05-24 13:42:07    阅读次数:0
windows中的换行符和Linux中的换行符
# cat -A tmp.tmp 120.4987 12.717858^M$ ^M 对应的字符是 \r # cat tmp.txt | awk -vRS='\r\n' '{print $2,$1}' 或者转换格式文件 yum install dos2unix -y dos2unix tmp.tmp ...
分类:Windows程序   时间:2021-05-24 13:41:55    阅读次数:0
用python写九九乘法表
for i in range(1,10): for j in range(1,i+1): print(i,"*",j,"=",i*j, "\t",end="") else: print("") 1 * 1 = 1 2 * 1 = 2 2 * 2 = 4 3 * 1 = 3 3 * 2 = 6 3 * ...
分类:编程语言   时间:2021-05-24 13:38:54    阅读次数:0
python之公共方法
1、公共方法 2、公共方法之总结 3、range()方法 4、enumerate()方法 ...
分类:编程语言   时间:2021-05-24 13:36:03    阅读次数:0
python之列表操作
1、关于列表存储数据 2、给定数据,查找数据所在位置;index()在的话则返回所在的位置,不在的话报错 ;str.index('',开始下标,结束下标) 3、count() 统计给定数据在列表出现的次数 4、判断给定数据是否在列表中 in 在的话返回true,不在的话返回false; 5、判断给定 ...
分类:编程语言   时间:2021-05-24 13:27:03    阅读次数:0
python之列表删除
1、删除整个列表即删除列表中指定元素 2、指定元素删除pop()方法 返回值为删除的元素 3、指定数据进行删除remove()方法 4、清空列表项 5、综上 del 列表名[i]、pop()、remove()、clear() (1)del 列表名[i] 和pop(i) 都是指定下标进行删除而del ...
分类:编程语言   时间:2021-05-24 13:25:23    阅读次数:0
python内置函数
# print()# input()# len()# type()# int()# str()# list()# tuple()# dict()# set()# float()# id() # avg = sum(l) / len(l) #计算平均值# print(avg)# print( max( ...
分类:编程语言   时间:2021-05-24 13:23:00    阅读次数:0
python time模块练习
import time#时间戳,从计算机诞生那一天到现在过了多少秒 1621063294#格式化好的时间 2021-5-15 19:38:23#2021515 ->50天后print( int(time.time()) ) #获取当前的时间戳print( time.strftime('%Y-%m-% ...
分类:编程语言   时间:2021-05-24 13:22:39    阅读次数:0
160088条   上一页 1 ... 66 67 68 69 70 ... 16009 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!