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 ?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <dihedral88888@googlemail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.01; 'subject:Python': 0.05; 'python': 0.08; 'scripts': 0.09; 'bash': 0.09; 'to:addr:comp.lang.python': 0.09; 'am,': 0.12; 'language,': 0.14; 'bash,': 0.16; 'handy': 0.16; 'memorize': 0.16; 'overheads': 0.16; 'cc:addr:python-list': 0.16; 'linux': 0.17; 'wrote:': 0.18; 'operations.': 0.18; 'this?': 0.19; 'programming': 0.20; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'shell': 0.24; 'subject: ?': 0.24; 'cc:2**0': 0.26; "i'm": 0.28; 'cc:addr:python.org': 0.29; 'attracting': 0.30; 'from:addr:googlemail.com': 0.31; 'header:User-Agent:1': 0.33; 'agree': 0.33; 'especially': 0.34; 'received:209.85.161': 0.34; 'executing': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'some': 0.38; 'doing': 0.38; 'received:209': 0.39; 'everyone': 0.39; 'application': 0.40; 'user': 0.40; 'might': 0.40; 'views': 0.40; 'type': 0.61; 'more': 0.61; 'your': 0.61; 'course,': 0.62; 'is.': 0.63; 'alive': 0.67; 'designed': 0.69; 'customized': 0.79; '11:58': 0.84; '8bit%:60': 0.84
Received-SPF pass (google.com: domain of dihedral88888@googlemail.com designates 10.68.130.132 as permitted sender) client-ip=10.68.130.132;
Authentication-Results mr.google.com; spf=pass (google.com: domain of dihedral88888@googlemail.com designates 10.68.130.132 as permitted sender) smtp.mail=dihedral88888@googlemail.com
Newsgroups comp.lang.python
Date Sun, 19 Feb 2012 22:15:44 -0800 (PST)
In-Reply-To <mailman.0.1329697429.3037.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=112.104.158.243; posting-account=5JdMBQoAAABHnS4mjpqEzxnmWtgiiVNw
References <24942665.31.1329591482717.JavaMail.geo-discussion-forums@pbux2> <mailman.0.1329697429.3037.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
MIME-Version 1.0
Subject Re: Python as a default shell, replacement of bash, sh, cmd ?
From 88888 Dihedral <dihedral88888@googlemail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.3.1329718553.3037.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1329718553 news.xs4all.nl 6983 [2001:888:2000:d::a6]:46224
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20617

Show key headers only | 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