On 2015-05-21, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote:

> import glob
> print(glob.glob("c:/abc/def/ghjmain/features/XYZ/*<filename>"))
>
> Don't use backslashes \ as they have special meaning to Python. Use forward 
> slashes and let Python convert them as needed.

Interesting. I've never heard about this.

When will Python convert them?

-- 
Grant Edwards               grant.b.edwards        Yow! I was born in a
                                  at               Hostess Cupcake factory
                              gmail.com            before the sexual
                                                   revolution!
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to