glob.glob standardization
Lawrence Oluyede
raims at dot.com
Wed Jun 27 18:35:03 EDT 2007
billiejoex <gnewsg at gmail.com> wrote:
> Don't you think it would be more convenient for glob.glob to return
> file names only in any case, like os.listdir do?
AFAIK it's a wanted behavior. The doc says:
"""
Notice how any leading components of the path are preserved.
"""
--
Lawrence, oluyede.org - neropercaso.it
"It is difficult to get a man to understand
something when his salary depends on not
understanding it" - Upton Sinclair
More information about the Python-list
mailing list