Python
Pomel
这个作者很懒,什么都没留下…
展开
-
Python join()函数
连接字符串数组 'sep'.join(seq)sep:分隔符。可为空seq:要连接的元素 : 序列、字符串、元组、字典返回值:返回一个以分隔符sep连接各个元素后生成的字符串>>>list1=['Hello','World']>>>' '.join(list1)'Hello World' ...原创 2018-01-30 11:06:53 · 710 阅读 · 0 评论 -
You are using pip version 9.0.1, however version 10.0.1 is available.
Python安装模块时报以下错误: You are using pip version 9.0.1, however version 10.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.解决:以管理员的身份打开命令行...转载 2019-02-22 14:52:11 · 396 阅读 · 0 评论