大家好,今天小编关注到一个比较有意思的话题,就是关于学习perl还是python的问题,于是小编就整理了3个相关介绍学习perl还是Python的解答,让我们一起看看吧。
做DBA,到底是学python好,还是学perl好?
同样是懒散运维表示。
选python。两种我都曾经用过。1。可以肯定使用py的人越来越多,因为入门相当容易,这适合你的脚本被其他人理解,或者共同维护。
2。就功能性来说,其实脚本语言都差不多。但是py有更好的调试机制,perl语法可以说约束太宽,我是觉得语法太随意,规范化的py看起来更简单易懂,py在面向对象的写法上更容易。
3。两个官方文档我都看过,perl内容没有py完整,perl有些地方很简单的带过。当然py2跟3有些差别,但是不大,perl6跟perl5的差别更大呢。
4。py作为很多开发项目的***语言现在来说会更流行一些,不管是github还是其他地方。所以,你能找到的帮助,解决问题的思路也比perl广。
搞linux运维的,需要学习些什么语言?
运维工作尤其是linux运维,其实最考验你的能力,因为需要学习的东西实在太多,
要懂性能调优:包括lamp或者lnmp的性能调优,也包括linux操作系统调优;
要懂编程语言:Shell是最基本的,还要学习perl,python,甚至ruby和C++等(因为一些软件是这些语言编写的),还得熟练掌握awk,sed,grep以及正则表达式;
要懂一些调试排错的命令工具的使用,比如htop,dstat,strace,systemtap,iostat,sar等;
要有比较好的英语水平:因为很多软件或者工具以及出现问题排错的答案都不是国人所做,甚至还需要和原作者交流,在谷歌group里面留言讨论
要有坚强的体魄和超时工作的心理准备:升级维护都是在大家还在做梦时候。夜里2点网站挂了你也得起来,手机不停的接收各种报警短信...
要有背黑锅的忍耐力:运维一直是公司爹不疼娘不爱的位置,别人做好了和你无关,你做差了别人作不好就是你影响的。人力和财务是技术部门的服务,运维就是各技术部门的服务,大到线上操作,小到帮助公司其他使用linux桌面的同事,公司内部机房,IDC维护(跑腿搬服务器)。
python是用于前端还是后端开发?
Python 通常用于后端开发,尤其是在 Web 应用程序中。 Python 可以用于编写服务器端代码,包括 Web 框架、数据库、数据分析、人工智能等应用。
在 Web 开发中,Python 最常用的框架是 Django 和 Flask。 Django 是一个全功能的 Web 框架,它提供了许多工具和库,使开发 Web 应用程序变得更加容易。 Flask 是一个轻量级的 Web 框架,它非常适合快速原型设计和小型 Web 应用程序的开发。
此外,Python 还被广泛用于数据分析、人工智能、科学计算、自然语言处理等领域。 Python 在这些领域中拥有许多强大的库和工具,例如 NumPy、Pandas、Matplotlib、Scikit-learn、TensorFlow 和 PyTorch 等。
虽然 Python 也可以用于前端开发,但这不是 Python 最常用的领域。如果您需要开发前端应用程序,可能需要使用像 HTML、CSS 和 [_a***_]Script 等技术来创建 Web 界面和交互效果。
到此,以上就是小编对于学习perl还是python的问题就介绍到这了,希望介绍关于学习perl还是python的3点解答对大家有用。