码迷,mamicode.com
首页 >  
搜索关键字:python 字符串 格式化    ( 227481个结果
Python解释器有哪些类型,有什么特点?
Python解释器有哪些类型,有什么特点? CPython:由C语言开发,而且使用范围最为广泛 IPython:基于CPython的一个交互式计时器。 PyPy:提高执行效率,采用 JIT 技术。对Python代码进行动态编译。 JPython:运行在Java上的解释器,直接把 Python 代码编 ...
分类:编程语言   时间:2021-05-24 14:08:30    阅读次数:0
Scala基础
Scala语言类型(同java) 静态,强,类型推断, 弱类型:(javascripte) > "1"+2 '12' 强类型:(java,scala,python) >>> "1"+2 TypeError: cannot concatenate 'str' and 'int' objects 动态类 ...
分类:其他好文   时间:2021-05-24 14:04:24    阅读次数:0
QTcpSocket 发送结构体
发送方式一: struct data{ int a = 123; int b = 465; } *m_data; m_data = new data; QByteArray data; data.resize(sizeof(struct data)); memcpy(data.data(), m_d ...
分类:其他好文   时间:2021-05-24 14:00:37    阅读次数:0
安装pymysql报错 TypeError: 'encoding' is an invalid keyword argument for this function
安装pymysql报错: TypeError: 'encoding' is an invalid keyword argument for this function Command "python setup.py egg_info" failed with error code 1 in c:\ ...
分类:数据库   时间:2021-05-24 13:57:46    阅读次数:0
安装python模块是提示C:\Users\lenovo>pip install pymysql Unknown or unsupported command 'install'
问题: 安装pymysql时遇到报错 C:\Users\lenovo>pip install pymysql Unknown or unsupported command 'install' 解决办法: 直接用 pip.exe install pymysql 进行安装即可 ...
分类:数据库   时间:2021-05-24 13:56:47    阅读次数:0
安装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
比较字符串
如果数组里的第一个字符串包含了第二个字符串中的所有字母,则返回 true。例如,["hello", "Hello"] 应该返回 true。因为在忽略大小写的情况下,第一个字符串包含了第二个字符串里出现的所有字母。["hello", "hey"] 应该返回 false。因为 hello 并不包含字符  ...
分类:其他好文   时间:2021-05-24 13:43:43    阅读次数: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
Mysql 之locate用法
locate:判断字符串(string)中是否包含另一个字符串(subStr) 函数返回subStr在string中出现的位置 一、使用方法 locate(subStr,string) > 0 二、功能类似函数 POSITION(substr IN str) 函数返回字符串中第一次出现的子字符串的位 ...
分类:数据库   时间:2021-05-24 13:28:48    阅读次数:0
227481条   上一页 1 ... 79 80 81 82 83 ... 22749 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!