471,348 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

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

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 '07 #1
0 1053

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Georgy Pruss | last post: by
6 posts views Thread by William Park | last post: by
11 posts views Thread by Magnus Jonneryd | last post: by
16 posts views Thread by John Salerno | last post: by
keyvanrahmadi
3 posts views Thread by keyvanrahmadi | last post: by
keyvanrahmadi
14 posts views Thread by keyvanrahmadi | last post: by
keyvanrahmadi
17 posts views Thread by keyvanrahmadi | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.