how easily can glob.glob say Unix bash `echo *`

Discussion in 'Python' started by p.lavarre@ieee.org, Nov 3, 2007.

  1. Guest

    http://wiki.python.org/moin/glob now mentions:

    The glob module lists names in folders that match Unix shell patterns.

    If the elemental function emulating Unix bash `echo *` really is
    missing from the 2.5 Python batteries included, then here's a brief
    clear way of adding that function to Python.

    Mind you, to date I've never written an elemental function for Python
    that I haven't eventually found well-buried somewhere, e.g.,
    os.urandom.

    P.S. glob.glob bash and glob.glob rm have no hits yet, said Google
    Groups.
     
    , Nov 3, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ferman
    Replies:
    1
    Views:
    2,873
    Joona I Palaste
    Sep 16, 2003
  2. William Park

    (patch for Bash) GTK+2 + Bash

    William Park, Jul 11, 2005, in forum: XML
    Replies:
    3
    Views:
    2,331
    William Park
    Jul 14, 2005
  3. Georgy Pruss
    Replies:
    15
    Views:
    757
    Tim Roberts
    Dec 1, 2003
  4. Tim Peters
    Replies:
    1
    Views:
    382
    Duncan Booth
    Dec 1, 2003
  5. Sean Berry

    Question about glob.glob <--newbie

    Sean Berry, May 4, 2004, in forum: Python
    Replies:
    3
    Views:
    359
    David M. Cooke
    May 4, 2004
Loading...

Share This Page