新书推介《Python.for.Unix.and.Linux.System.Administration》

2008新书(目前只有英文版)《Python.for.Unix.and.Linux.System.Administration

为什么要用python来管理系统呢?它比bash,ruby,perl或其他脚本有什么优势?

作者认为python是一个非常有价值的工具,它能使你的工作变得更加高效。很难说python这门编成语言比perl、ruby、bash等脚本语言有优势,语言各有自己特点和用途,就算语言有优劣,人也有个人偏好,每个人通常选择适合自己的程序语言。作者认为python在系统管理上具有优越性,优越性的主要表现有:1.python简单易学  2.简单的东西通常难以完成复杂的任务,而python简单但是却能完成你所能想象的复杂任务,python已经被应用于复杂的基因序列分析、多线程web服务、重量级统计分析; 3.python代码的可读性非常好;4.python有非常强大的社区提供支持,有非常优秀的标准库,包括:regular expression functionality;sockets; threads; date/time functionality; XML parsers; config file parser; file and directory functionality; data persistence; unit test capabilities; and http, ftp, imap, smpt, and nntp client libraries;等等;5.除了标准库外,还有非常丰富的第三方库可供重用(http://pypi.python.org

事实上,python的优越性还不只这些,python的一个非常重要的优势是他的性能比其他脚本语言有明显优势,所以它被用于很多性能关键的系统,比如海量日志的分析处理(这也是OSSIM的关联框架为什么要用python来开发的重要原因之一),目前python2.6 已经发布,标准库增加了Multiprocessing(PEP 371),支持多处理器多核平台下的并行并发计算。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Python is an ideal language for solving problems, especially in Linux and Unix networks. With this pragmatic book, administrators can review various tasks that often occur in the management of these systems, and learn how Python can provide a more efficient and less painful way to handle them., Each chapter in Python for Unix and Linux System Administration presents a particular administrative issue, such as concurrency or data backup, and presents Python solutions through hands-on examples. Once you finish this book, you'll be able to develop your own set of command-line utilities with Python to tackle a wide range of problems. Discover how this language can help you:, * Read text files and extract information, * Run tasks concurrently using the threading and forking options, * Get information from one process to another using network facilities, * Create clickable GUIs to handle large and complex utilities, * Monitor large clusters of machines by interacting with SNMP programmatically, * Master the IPython Interactive Python shell to replace or augment Bash, Korn, or Z-Shell, * Integrate Cloud Computing into your infrastructure, and learn to write a Google App Engine Application, * Solve unique data backup challenges with customized scripts, * Interact with MySQL, SQLite, Oracle, Postgres, Django ORM, and SQLAlchemy, With this book, you'll learn how to package and deploy your Python applications and libraries, and write code that runs equally well on multiple Unix platforms. You'll also learn about several Python-related technologies that will make your life much easier.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值