RSS Python - 有道博客搜索
哪吒推荐该订阅
原站:http://blog.yodao.com/search?q=Python&t=a
指数:
点击立即订阅,“Python - 有道博客搜索”的内容有更新,哪吒第一时间提醒您
“Python - 有道博客搜索”的内容更新
累计:10634 篇(自 2007-07-07 起)
更新:约6篇/天,更新比较频繁,最后更新82 天前
Python - 有道博客搜索
1.字符串可以使用 切片标记类似php的substr2.条件语句:比较:比php的少endif;elif还省略了两个字母 3.for语句:比较:php用foreach( $a as $x?):endforeach;?4.for遍历字典 ?5.函数:函数声明,函数调用 比较:用php 阅读全文 类别:python?查看评论... (82 天前)
Python - 有道博客搜索
list列表列表是序列对象,可包含任意的python数据信息,如字符串、数字、列表、元组等。列表的数据是可变的,我们可通过对象方法对列表中的数据进行增加、修改、删除等操作。可以通过list(seq)函数把一个序列类型转换成一个列表。列表的几个例子:list = [ "a", "b", "c" ],这是字符列表。list = [ 1, 2, 3, 4 ],这是数字列表。... (82 天前)
Python - 有道博客搜索
exec语句用来执行储存在字符串或文件中的python语句。例如,我们可以在运行时生成一个包含python代码的字符串,然后使用exec语句执行这些语句。下面是一个简单的例子。 >>> exec 'print "hello world"' hello world eval语句用来计算存储在字符串中的有效python表达式。下面是一个简单的例子。 >>> eval('2*3')... (82 天前)
Python - 有道博客搜索
python 3.1.1 was released on august 17th, 2009. python 3.1 is a continuation of the work started by python 3.0, the new backwards-incompatible series of python. improvements in this release include: * an ordered dictionary type * various optimizations to the int type * new unittest features including test skipping and new assert methods. * a much faster ... (82 天前)
Python - 有道博客搜索
作者: lexus 发表于 2010-07-01 15:02 原文链接 阅读: 7 评论: 0sudo apt-get install python-setuptools 评论: 0 查看评论发表评论软件研发团队管理年会(上海,7.10-7.11)最新新闻: · google 香港主页由于 “技术问题” 无法向大陆提供搜索建议(2010-07-01 22:15) · 是不是文言文有望实现自动翻译呢?(2010-07-01 22:01) · 移动互联网经济笔记之五: 挺进纵深(2010-07-01 21:58... (82 天前)
Python - 有道博客搜索
python 字符串替换是python操作字符串的时候经常会碰到的问题,这里简单介绍下字符串替换方法。 python 字符串替换可以用2种方法实现: 1是用字符串本身的方法。 2用正则来替换字符串 下面用个例子来实验下: a = 'hello word' 我把a字符串里的word替换为python 1用字符串本身的replace方法 a.replace('word','python') 输出的结果是hello python 2用正则表达式来完成替换... (83 天前)
Python - 有道博客搜索
http://book.51cto.com/art/201005/198566.htm???计算crc-64循环冗余码校验 win32方面有oreilly ? - ? python ? programming ? on ? win32? 界面方面有wxpython in ? action? 网络方面的python ? network ? programming?... (83 天前)
订阅者 ( 2 )
lzhlds
renxincong
相关订阅源
RSS PCPChina 先锋网 - 新闻总线

资讯先导,个性先锋。提供软件及it业界资讯、系统和软件美化讨论!

标签: 先锋 软件 电脑技术 pcpchina

指数 | 40人订阅  

RSS Python News

python-related news and announcements. python is an interpreted, interactive, object-oriented programming language.

标签: python news python.org

指数 | 14人订阅  

我要反馈