[New-bugs-announce] [issue33425] Library glob : Can't find a specific year with glob

Robin Champavier report at bugs.python.org
Fri May 4 06:14:47 EDT 2018


New submission from Robin Champavier <robin.champavier at gmail.com>:

Hello,

I work with file name like : PRECI_yyyymmddhh_00.txt and I put them in different directory depending of the year. For file between year 1999 and 2016 there is no problem but with file in year 2017 with months 12, glob.glob can't find them. When I do print K in my file Tri_fichier_texte.py there is no file with PRECI_201712xxxx.txt but it works to find the beginning of the year 2017 like PRECI_201701xxx.txt. All file get exactly the same syntax. 

Thanks for looking my issues.

----------
components: Library (Lib)
files: Tri_fichier_texte.py
messages: 316163
nosy: Robin Champavier
priority: normal
severity: normal
status: open
title: Library glob : Can't find a specific year with glob
versions: Python 2.7
Added file: https://bugs.python.org/file47571/Tri_fichier_texte.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33425>
_______________________________________


More information about the New-bugs-announce mailing list