python小贴士之strip() split()
来源:互联网 发布:怎么做手机淘宝店铺 编辑:程序博客网 时间:2024/05/17 22:27
from numpy import *import operatorfr = open('F:\WriteFile.txt')array = fr.readlines()for line in array: line = line.strip('\n') list = line.split('\t') print(list)
['Hello World\xa3\xa1\xa3\xa1\xa3\xa1', 'I Love you!', 'A beatiful day!']
['How are you?', 'sdfsf', 'gasdgasg']
['Fine! Thank you,and you?']
["I'm fine too!"]
0 0
- python小贴士之strip() split()
- python中的split() strip() argv
- Python之strip与split函数
- python strip()、split() (切片)、.join()(合并) 方法
- python strip() split()函数
- python strip() split()函数
- python strip() split()函数
- python strip() split()
- python ''.join,split(),strip()
- Python: strip() & split()
- Python 学习-----strip()
- 【Python】 strip(),split()函数介绍
- python 中的split()和strip()
- python中的strip和split
- python中raw_input().strip().split()
- Python strip() 和split() 函数
- python 的 split 和 strip
- Python进阶---python strip() split()函数实战
- magento插件手动下载
- 如何限制IP和指定用户,通过SSH登陆linux服务器
- 浏览器缓存详解
- centos 编译 vlc-android
- React 的 diff 算法
- python小贴士之strip() split()
- linux netfilter
- 在i3 Cpu上允许64位系统
- 数据结构
- ubuntu 14 java web服务器搭建
- Android开发时图片Bitmap序列化问题(How to fix a java.io.NotSerializableException: android.graphics.Bitmap)
- aliyun 一键安装 备忘
- 杭电acm2124
- java多线程之volatile关键字与线程栈内存