Slashdot Mirror


Python/Unix Hybrid Demoed at PyCon (xon.sh)

A new shell "combines the Python language with features of Bash Unix and the fish and zsh shells," according to InfoWorld. An anonymous reader writes: Pronounced "conch," but spelled Xonsh, it runs on Linux, Windows, and Mac OS X systems, bringing Python libraries to the command line -- for example, the ability to use regular expressions when globbing files. "The first thing you'll notice about Xonsh is that it's really meant to be used as a general-purpose shell," the lead developer explained in a presentation at PyCon. "But on the other hand, it really is Python, so you can do things like add two numbers together."

They're describing it as "a Python-ish, BASHwards-looking shell language and command prompt...a superset of Python 3.4+ with additional support for the best parts of shells that you are used to, such as Bash, zsh, fish, and IPython...the superglue that bonds Python to a command-line interface and other shells."

5 of 181 comments (clear)

  1. Not excited by fph+il+quozientatore · · Score: 4, Insightful

    1. What is so awesome about adding two numbers in the shell?
    2. In any case, bash can do it too -- try echo $((15+7)).
    3. One of the selling points of bash is that it needs to be fast for power users, so it uses cd instead of change_directory(). One of the selling points of Python is that readability counts, so it would choose change_directory() over cd. How do you plan to reconcile the two approaches?

    --
    My first program:

    Hell Segmentation fault

  2. Re:So not really a Python/Unix hybrid by dbIII · · Score: 3, Insightful

    It's a beige box is the "hard drive" or a operating system means solitaire game but not device drivers moment - just live with the feeble redefinitions of those that never learned the real definition.

  3. Say what? by Anonymous Coward · · Score: 2, Insightful

    Pronounced "conch," but spelled Xonsh

    How about NO?

    This is yet another example of stupidity in the open source community. You don't get to define how a word sounds. The way you write it defines how it's said.

    And even if you say "Xonsh", it sounds stupid anyway.

    There's a reason people don't use "GIMP" in businesses. Nobody can go see his boss and asks to replace Photoshop by "GIMP".

  4. Conch = 'Konk' by itomato · · Score: 1, Insightful

    People xonshtantly mispronounce these things.
    Quay.io? It's not "kway", it's "key".
    "Conch" isn't fucking "konsh", it's "konk". Like the devs need on the fucking head.

  5. Re:Python by fluffernutter · · Score: 3, Insightful

    Yeah I can't really get that excited about a programming language either way. I just use the tool for the job.

    --
    Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.