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


Groups > comp.lang.python > #20608

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

From SherjilOzair <sherjilozair@gmail.com>
Newsgroups comp.lang.python
Subject Re: Python as a default shell, replacement of bash, sh, cmd ?
Date 2012-02-19 00:18 -0800
Organization http://groups.google.com
Message-ID <6736331.2480.1329639496391.JavaMail.geo-discussion-forums@pbbox6> (permalink)
References <24942665.31.1329591482717.JavaMail.geo-discussion-forums@pbux2> <12644c63-c7df-49fb-b3e9-16029057cee3@sk8g2000pbc.googlegroups.com>

Show all headers | View raw


Well, if not modify python itself, I was thinking of making another shell, which borrows a lot from python, something like merging bash and python. such that I can do `cd ~/Desktop/dev` and `for i in open('file.txt'): print i` at the some shell. This I think would be VERY useful.

IPyhton is very good, but after all, it is just an advanced interpreter, not a default shell. I don't want this to run on top of bash or sh. But it should run on its own, at shell level.

Bash and sh, according to me, have very ugly syntaxes and the general user does not even use those. Python put on the shell would be adhering to python's vision, i.e. bringing programming to the masses.
The general user, who earlier could not do batch operations, and had to buy software and such for all that, could now write his open simple python script and run it in his shell that would do as he wants.

Python on the shell could effectively remove learning grep, awk, sed, bash and the various unix utilities.
Don't take me wrong. Those are awesome tools, and I use them. But the awesomeness is not experienced by the general UNIX user on mac or linux. Python could do that.

We all know how great a programming language python is. Imagine being able to control your computer with such an elegant language. Imagine that I import some speech recognition utility on the terminal shell, and voila, I'm speaking to the computer and it is doing stuff on the terminal for me.

Shell would give python raw power! And Python would manage it well.

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