Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20617

Re: Python as a default shell, replacement of bash, sh, cmd ?

Newsgroups comp.lang.python
Date 2012-02-19 22:15 -0800
References <24942665.31.1329591482717.JavaMail.geo-discussion-forums@pbux2> <mailman.0.1329697429.3037.python-list@python.org>
Subject Re: Python as a default shell, replacement of bash, sh, cmd ?
From 88888 Dihedral <dihedral88888@googlemail.com>
Message-ID <mailman.3.1329718553.3037.python-list@python.org> (permalink)

Show all headers | View raw


在 2012年2月20日星期一UTC+8上午8时23分33秒,Michael Torrie写道:
> On 02/18/2012 11:58 AM, SherjilOzair wrote:
> > Has it been considered to add shell features to python, such that it
> > can be used as a default shell, as a replacement for bash, etc.
> > 
> > I'm sure everyone would agree that doing this would make the terminal
> > very powerful.
> > 
> > What are your views on this?
> 
> I use python for system programming all the time, in place of bash.
> However Python is not designed as shell language, just as Bash is not
> really designed for the type of application development that Python is.
> 
To use Python as a shell with customized scripts  is feasiable for those hose have to work on different OS enviroments from  time to time. This is a handy approach to ease the user the burden  to memorize
different commands of different OS environments. 

Of course, this might add some overheads in executing some operations.    

Nowadays attracting more people especially noices to use linux is the way to keep unix programming alive in the future.  

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python as a default shell, replacement of bash, sh, cmd ? SherjilOzair <sherjilozair@gmail.com> - 2012-02-18 10:58 -0800
  Re: Python as a default shell, replacement of bash, sh, cmd ? Jabba Laci <jabba.laci@gmail.com> - 2012-02-18 20:21 +0100
    Re: Python as a default shell, replacement of bash, sh, cmd ? 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-18 13:46 -0800
    Re: Python as a default shell, replacement of bash, sh, cmd ? 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-18 13:46 -0800
  Re: Python as a default shell, replacement of bash, sh, cmd ? Bryan <bryanjugglercryptographer@yahoo.com> - 2012-02-18 20:05 -0800
    Re: Python as a default shell, replacement of bash, sh, cmd ? SherjilOzair <sherjilozair@gmail.com> - 2012-02-19 00:18 -0800
      Re: Python as a default shell, replacement of bash, sh, cmd ? Terry Reedy <tjreedy@udel.edu> - 2012-02-19 13:28 -0500
    Re: Python as a default shell, replacement of bash, sh, cmd ? SherjilOzair <sherjilozair@gmail.com> - 2012-02-19 00:16 -0800
      Re: Python as a default shell, replacement of bash, sh, cmd ? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-19 08:49 +0000
      Re: Python as a default shell, replacement of bash, sh, cmd ? "Kyle T. Jones" <onexpadREMOVE@EVOMERyahoodotyouknow.com> - 2012-02-21 20:28 -0600
        Re: Python as a default shell, replacement of bash, sh, cmd ? Grant Edwards <invalid@invalid.invalid> - 2012-02-22 15:31 +0000
          Re: Python as a default shell, replacement of bash, sh, cmd ? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-22 22:15 +0000
  Re: Python as a default shell, replacement of bash, sh, cmd ? Michael Torrie <torriem@gmail.com> - 2012-02-19 17:23 -0700
    Re: Python as a default shell, replacement of bash, sh, cmd ? 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-19 22:15 -0800
    Re: Python as a default shell, replacement of bash, sh, cmd ? 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-19 22:15 -0800
  Re: Python as a default shell, replacement of bash, sh, cmd ? Serhiy Storchaka <storchaka@gmail.com> - 2012-02-21 11:15 +0200

csiph-web