python函数
2016-06-27 13:13
337 查看
1.strip()函数 :删除开头结尾处字符
2.with open as 函数: 读取文件
3.atoi atof
atoi函数
原型:int atoi( const char *string );
ASCII to integer
作用:将字符串转为integer类型
atof函数
原型:double atof( const char *string );
ASCII to float
作用:将字符串转为double类型
2.with open as 函数: 读取文件
3.atoi atof
atoi函数
原型:int atoi( const char *string );
ASCII to integer
作用:将字符串转为integer类型
atof函数
原型:double atof( const char *string );
ASCII to float
作用:将字符串转为double类型
相关文章推荐
- python高级编程
- gensim实现python对word2vec的训练和计算
- python 参数的组合
- python 模块概述
- python 函数的参数
- Python(3)
- python环境搭建
- Mini-project #4 - Pong
- python迭代器itertools
- Python线程指南
- python selenium 界面截图
- 梅森尼数
- python小脚本
- 【Python学习日记】匿名函数
- Yixiaohan---005题,更改目录下所有图片的分辨率
- python3.x执行post请求时报错“POST data should be bytes or an iterable of bytes...”的解决方法
- Python(八)进程、线程、协程篇
- Python遍历文件夹
- Python(2)
- Python教程之全局变量用法