LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1019|回复: 3

What's the advantage of bash compare to Python

[复制链接]
发表于 2005-1-27 21:38:02 | 显示全部楼层 |阅读模式
We all know shell is small in its language size(compared with Perl). It can do the same with work with much less code compared with C/C++.

But now we have Python. I read abs-guide, i found that there are two many special charactor in bash such as $@, $#, [, [[ etc.. many of them aren't not easy to remember and people can't get
the meaning from it directly. But Python has many advantage compare with shell script, such as
it is much more clear, clean, easy to read....

Is there any Guru can tell me the advantage of these shell script over Python
发表于 2005-1-29 14:25:43 | 显示全部楼层
interesting
回复 支持 反对

使用道具 举报

发表于 2005-2-12 09:54:57 | 显示全部楼层
u have sh everywhere
but u will not have a python everywhere
many non-rh boxen simply have no python
回复 支持 反对

使用道具 举报

发表于 2005-2-18 16:58:48 | 显示全部楼层
没学过python
但我想既然是一门主要用来编程的语言,python的交互性或许会差一点,而shell这一点可不含糊

大家接着谈~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表