Help for this page

Select Code to Download


  1. or download this
    $ echo foo.c
    foo.c
    ...
    
    $ perl -le 'print glob "foo.?"'
    # shell expansion w/ existence check
    
  2. or download this
    $ python -c 'from glob import glob; print(glob("foo.c"))'
    []
    
    $ python -c 'from glob import glob; print(glob("foo.?"))'
    []