Найти
-
Пользователи
Полная версия:
как узнать, занят ли файл кем-то?
Начало
»
Python для новичков
»
как узнать, занят ли файл кем-то?
1
Michael_Levin
Май 20, 2011 15:38:22
Собственно, вопрос. Файл находится на сервере, узнать надо с компьютера пользователя (не-администратора), какой машиной в сети занят данный файл.
.Serj.
Май 21, 2011 08:38:38
А погуглить?
http://bytes.com/topic/python/answers/612924-how-check-whether-file-open-not
http://stackoverflow.com/questions/186202/what-is-the-best-way-to-open-a-file-for-exclusive-access-in-python
http://stackoverflow.com/questions/589407/python-how-to-check-if-a-file-is-used-by-another-application
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here
.
Powered by
DjangoBB