Issue 33425: Library glob : Can't find a specific year with glob (original) (raw)

Issue33425

Created on 2018-05-04 10:14 by Robin Champavier, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Tri_fichier_texte.py Robin Champavier,2018-05-04 10:14
Messages (1)
msg316163 - (view) Author: Robin Champavier (Robin Champavier) Date: 2018-05-04 10:14
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.
History
Date User Action Args
2022-04-11 14:59:00 admin set github: 77606
2018-05-04 11:05:18 Robin Champavier set status: open -> closedstage: resolved
2018-05-04 10:14:47 Robin Champavier create