![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
scanf石头
这个作者很懒,什么都没留下…
展开
-
python 方法记录
1,str = 'zxcccs' n = str.rfind('x') print(n)rfind返回当前的字符串相匹配的第一个的位置,如果没有相匹配的则返回-1.ps这里我查找相匹配的是x.原创 2017-01-30 11:12:50 · 222 阅读 · 0 评论 -
数据库的操作
show databases; 显示数据库 create database name; 创建数据库 use name; 选择数据库 show tables; 显示表 describe name;显示表结构原创 2017-03-27 10:55:52 · 233 阅读 · 0 评论 -
centos7 命令
查找 指定名字的位置 find / -name "name*" 软连接 ln -s 位置 指定位置原创 2017-05-03 13:56:38 · 268 阅读 · 0 评论 -
python 常见错误
编译后sll 找不到 需要先安装依赖 yum install openssl-devel -y 之后重新编译python就可以用了 因为系统里共存了python2 和python3 所以pip3 安装的gunicorn不能直接调用 需要 #-*- coding: utf-8 -*- import re import sys from gunicorn.app.wsgiapp impo原创 2017-05-03 17:56:29 · 331 阅读 · 0 评论