分享

视频 | 为什么要学习python?这是编程大神给出的五大理由!

 taozl2022 2022-09-17 发布于安徽

C语言在Tiobe的排名中仍然位居首位,不过最近Python语言越来越流行了

由于市场上对Python语言的需求持续增长,现在它终于在有史以来第一次超过了Java语言,成为Tiobe最新排名上面第二流行的编程语言。

图片

TIOBE编程社区指数每月更新一次,可作为编程语言流行度的指标。该指数的评级是由基于全球的熟练工程师,课程和第三方供应商数量,以及主流搜索引擎和在线服务统计计算得出的结果。

在2020年11月的TIOBE指数排名中,尽管C语言仍然保持了首位,但是Python已经将Java挤到了第三位。现在在数据科学和机器学习的项目中,Python语言非常受到开发人员的青睐。

与去年同期相比,Python的流行度提高了2.27%,而Java的流行度下降了4.47%。

下面视频告诉你,为什么要学习Python的5个理由。

C still holds the top spot in Tiobe's index but Python has grown in popularity recently

Demand for Python continues to grow and now for the first time ever, it has managed to overtake Java to become the second-most popular programming language in Tiobe's latest index.

The TIOBE Programming Community index is updated once a month and serves as an indicator of the popularity of programming languages. The index's ratings are based on the number of skilled engineers, courses and third party vendors globally as well as the results from popular search engines and online services.

While C has retained its top spot in the TIOBE Index for November 2020, Python has knocked Java down into third place as the programming language is now favored by developers for both data science and machine learning projects.

Compared to its position during the same period last year, Python has risen in popularity by 2.27 percent while Java's popularity has fallen by 4.47 percent.

Python's rise in popularity

First created in 1991, Python has seen a recent surge in popularity due to how it's now being used by data scientists and in machine learning. However, Tiobe's CEO Paul Jansen has a different theory which he provided further insight on in the TIOBE Index for November 2020, saying:

'I believe that Python's popularity has to do with general demand. In the past, most programming activities were performed by software engineers. But programming skills are needed everywhere nowadays and there is a lack of good software developers. As a consequence, we need something simple that can be handled by non-software engineers, something easy to learn with fast edit cycles and smooth deployment. Python meets all these needs.”

Rounding out the rest of Tiobe's latest index, C++ took fourth place followed by C#, Visual Basic, JavaScript, Php, R and SQL to make up the rest of the top ten most popular programming languages.

However, Java still has a rating of 11.68 percent compared to Python's 12.12 percent, so we could see Java regain the number two spot in next month's index. 

图片


叨叨两句

01



关于Python,有很多小伙伴退缩于对英语的恐惧,今天小编来总结一下常见的Python英文单词,其实对初学者而言,词汇量远远低于中考英语大纲要求,需要的小伙伴可以在文档中排版一下,然后每天记一点,贵在坚持。

图片
图片


常见初级单词

02



一、交互式环境与print输出
1、print:打印/输出
2、coding:编码
3、syntax:语法
4、error:错误
5、invalid:无效
6、identifier:名称/标识符
7、character :字符


二、字符串的操作
1、user:用户
2、name:姓名/名称
3、attribute:字段/属性
4、value:值
5、key:键


三、重复/转换/替换/原始字符串
1、upper:上面
2、lower:下面
3、capitalize:用大写字母写或印刷
4、title:标题
5、replace:替换
6、old:旧的
7、new:新的
8、count:计数
9、swap:互换
10、case:情形
11、path:路径
12、new:新的\新建
13、project:项目
14、test:测试
15、file:文件
16、data:数据


四、去除/查询/计数
1、strip:去除
2、index:索引
3、find:查找
4、count:计数
5、start:开始
6、end:结束
7、chars:字符
8、sub:附属


五、获取输入/格式化
1、input:输入
2、prompt:提示
3、ID:身份证
4、format:格式化
5、args(argument):参数
6、kwargs:关键字参数
7、year:年
8、month:月
9、day:日


六、元组
1、tuple:元组
2、max:最大
3、min:最小
4、iterable:可迭代
5、key:关键字
6、function:方法/函数
7、stop:停止
8、object:对象


七、列表
1、list:列表
2、reverse:反向
3、true:真
4、false:假
5、append:附加
6、extend:扩展
7、insert:插入
8、pop:取出
9、remove:移除
10、del(delete):删除
11、clear:清除
12、sort:排序


八、集合
1、set:集合/设置
2、add:添加
3、update:更新
4、discard:丢弃
5、intersection:相交
6、union:联合
7、difference:差数
8、symmetric:对称
9、in:在…里面
10、not:不/不是
11、disjoint:不相交
12、subset:子集
13、superset:父集/超集
14、copy:复制


九、字典
1、dict:字典
2、key:键/关键字
3、value:值
4、item:项
5、mapping:映射
6、seq(sequence):序列
7、from:从/来自
8、get:获取
9、default:默认
10、none:没有
11、arg:可变元素
12、kwargs(keyword args):可变关键字元素


十、循环
1、for…in…循环的使用
2、while…循环的使用
3、range:范围
4、sep(separate):分隔
5、flush:冲刷
6、step:步长
7、continue:继续
8、break:突破/跳出


十一、条件/跳出与结束循环
1、if:如果
2、else:否则


十二、运算符与随机数
1、module:模块
2、sys(system):系统
3、path:路径
4、import:导入
5、from:从…


十三、定义函数与设定参数
1、birthday:出生日期
2、year:年份
3、month:月份
4、day:日期
5、type:类型
6、error:错误
7、missing:丢失
8、required:必须
9、positional:位置
10、unsupported:不支持


十四、设定收集参数
1、create:创建
2、info:信息
3、age:年龄
4、height:高度
5、width:宽度
6、weight:重量
7、splicing:拼接
8、params:参数
9、volume:体积
11、operand:操作数


十五、嵌套函数/作用域/闭包
1、inside:内部
2、outside:外部
3、radius:半径
4、perimeter:周长
5、case:情形
6、synthesis:合成
7、execute:执行


十六、递归函数
1、recursion:递归
2、Infinite:无穷
3、maximum:最大值
4、depth:深度
5、exceeded:超过
6、factorial:阶乘
7、search:查询
8、power:幂
9、lower:下方
10、upper:上方
11、middle:中间
12、assert/assertion:异常


十七、列表推导式/lambda表达式
1、square:平方
2、even:偶数
3、comprehension:理解
4、lambda:希腊字母λ的英文名称,大名鼎鼎的游戏半条命里面的logo就是这个。


十八、列表推导式/lambda表达式
1、regular:规则
2、expression:表达式
3、group:组
4、match:匹配
5、span:跨度
6、ignore case:忽略 大小写
7、multi line:多 行
8、dot all:点 全部
9、unicode:万国码
10、verbose:累赘
11、pos/position:位置

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多