[Python-de] Verändert os.walk die access time?
gerhard quell
gquell at skequell.de
Don Mar 17 10:49:05 CET 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo,
~ wie wäre es mit os.listdir und os.stat?
Beide verändern atime nicht.
Gruß
Gerhard
- ------------
Carsten wrote:
| Tobias Klausmann schrieb:
|
| Hallo,
|
|> Wie kommt man wohl an die Liste der Dateien in einem Verzecihnis?
|> Mit open("somedir"). Und voila, neue atime.
|
|
| Das leuchtet ein, aber wie macht es "find"? Das beweist ja, dass es eine
| Möglichkeit geben muss, an den Verzeichnisinhalt zu ändern, ohne die
| atime zu ändern. Lässt sich das irgendwie in Python umsetzen, oder ist
| der einzige Ausweg, aus dem Python-Programm heraus find aufzurufen?
| Gruß,
| Carsten
|
| _______________________________________________
| python-de maillist - python-de at python.net
| http://python.net/mailman/listinfo/python-de
|
- --
- ------------------------------------------------------ skequell ------
~ Gerhard Quell Software & Knowledge Engineering
~ eMail: gquell at skequell.de Fon: 08282-890631
~ web : http://www.skequell.de Fon: 0172-4057876
- ------- pgp: 473EC53C - http://math-www.uni-paderborn.de/pgp/ -------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.92 (GNU/Linux)
iD8DBQFCOVKRvHbZD0c+xTwRAj4aAKCjcbp9mUpHItYjpyBiVgRSeTzmhgCgucTF
UkQNB+VtvW8kLfw6F8L2lD4=
=vHaO
-----END PGP SIGNATURE-----