Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/util/walk.py @ 196:0f4febf646f5
Prepare for more Python2/3 compatibility: everywhere import print_function and absolute_import
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 16 Jan 2025 20:01:37 +0100 |
| parents | e5f6f4db9157 |
| children | c1e875ba4bdc |
comparison
equal
deleted
inserted
replaced
| 195:e5f6f4db9157 | 196:0f4febf646f5 |
|---|---|
| 4 # :License: BSD-3-Clause | 4 # :License: BSD-3-Clause |
| 5 # :- | 5 # :- |
| 6 r"""Utility sub-module to implement a heavily customized :func:`os.walk`. | 6 r"""Utility sub-module to implement a heavily customized :func:`os.walk`. |
| 7 | 7 |
| 8 """ | 8 """ |
| 9 | |
| 10 from __future__ import print_function, absolute_import | |
| 11 | |
| 9 | 12 |
| 10 __all__ = ["ScanDir"] | 13 __all__ = ["ScanDir"] |
| 11 | 14 |
| 12 | 15 |
| 13 import os | 16 import os |
