New submission from Robin Champavier :
Hello,
I work with file name like : PRECI_mmddhh_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_201712.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
<https://bugs.python.org/issue33425>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com