I duplicate the folder, one with the [ ] (the original), and one without [] (the one created for the example)
And this is the return in the console:
>>> glob.glob(os.path.join("/home/jotape/Musica/Musica en albumes/The Strokes/2006 - First Impressions Of Earth [FLAC]", '*.lrc'))
[]
>>> glob.glob(os.path.join("/home/jotape/Musica/Musica en albumes/The Strokes/2006 - First Impressions Of Earth FLAC", '*.lrc'))
['/home/jotape/Musica/Musica en albumes/The Strokes/2006 - First Impressions Of Earth FLAC/07 - Ask Me Anything.lrc', '/home/jotape/Musica/Musica en albumes/The Strokes/2006 - First Impressions Of Earth FLAC/03 - Heart In A Cage.lrc']
>>>
I duplicate the folder, one with the [ ] (the original), and one without [] (the one created for the example)
And this is the return in the console:
>>> glob.glob( os.path. join("/ home/jotape/ Musica/ Musica en albumes/The Strokes/2006 - First Impressions Of Earth [FLAC]", '*.lrc')) os.path. join("/ home/jotape/ Musica/ Musica en albumes/The Strokes/2006 - First Impressions Of Earth FLAC", '*.lrc')) jotape/ Musica/ Musica en albumes/The Strokes/2006 - First Impressions Of Earth FLAC/07 - Ask Me Anything.lrc', '/home/ jotape/ Musica/ Musica en albumes/The Strokes/2006 - First Impressions Of Earth FLAC/03 - Heart In A Cage.lrc']
[]
>>> glob.glob(
['/home/
>>>