频道栏目
首页 > 资讯 > Python > 正文

python入门(一)

17-08-10        来源:[db:作者]  
收藏   我要投稿

一、python安装环境和基础

1.python的优势
python的最大优势在于它的字符串模式匹配能力,提供一个非常强大的正则表达式匹配引擎,核心实现依赖于pert,但语法比pert更加易懂。python具有可扩展、移植性强、面向对象、语法清晰、易维护等特点。

在搭建好python环境的情况下,在终端输入python就可以进入到python的解释器中输入“import this”就可以看到python的哲学。

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

2.python的家族

c语言实现 ,Cpython,扩展可用c/c++ java实现,Jpython,扩展可用java .NET,IfonPython,扩展可用c#

3.python能干什么?

科学计算–支持小数点后面无数位 图形化开发 系统脚本 web服务器 网络爬虫 服务器集群自动化运营
4.python开发环境 ipython(推荐) eclipse+pydev插件 sublime text3—–ctrl+B运行代码
相关TAG标签
上一篇:HDU 5115 Dire Wolf(区间DP)
下一篇:自己动手写操作系统:1.cpu中寄存器、汇编语言及其它基础知识
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站