[Python-de] Plattformunabhängiges File-Locking
Florian Fredegar Haftmann
fredegar at haftmann-online.de
Sat Aug 31 12:33:46 EDT 2002
Hallo zusammen!
Um Zugriffe auf Dateien wechselseitig auszuschließen, gibt es in Python
je nach Betriebssystem unterschiedliche Ansätze, z. B. in den Modulen
für UNIX-Systeme: posixfile, fcntl
für WIN-Systeme: win32file
Exisitiert hierfür auch eine plattformübergreifende Lösung?
Ich verwende Python 2.2.1 auf NT 4.0; es existiert zwar ein Modul
posixfile, das jedoch bei import eine deprecation warning schmeißt.
Die Dokumentation verweist auf das Modul fcntl, das jedoch nicht
enthalten ist.
Danke für jede Rückmeldung,
Florian
More information about the Python-de
mailing list