前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Python 简介

Python 简介

作者头像
用户6021899
发布2019-08-14 17:43:17
3830
发布2019-08-14 17:43:17
举报

Python 是一门动态的、面向对象的高级程序设计语言,是一门免费、开源的编程语言。

Python 使用强制缩进来决定代码块的边界,使得程序更加简洁清晰。

Python 是完全面向对象的语言,支持继承、多重继承和多态。 Python 的世界里一切皆为对象,包括类、实例、变量、操作符、函数、模块…… 当然, Python也支持面向过程的编程。

Python 有丰富的标准库和第三方库,可以帮助处理各种工作,包括正则表达式、文档生成、 单元测试、多线程、数据库、网页浏览器、CGI、FTP、电子邮件、XML、HTML、WAV文件、密码系统、GUI 、科学计算、机器学习……只有想不到,没有找不到……^0^

The Zen of Python (Python 之禅):

代码语言:javascript
复制
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!

“人生苦短,我用python!“

Python 安装文件官方下载链接:https://www.python.org/downloads/

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2019-01-15,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 Python可视化编程机器学习OpenCV 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档