To prevent multiple apt instances from running at the same time, apt create a lock file. How to create a similar lock file in python for my program? is it just an empty file or is it using a special atomic operation?
apt
1.4m articles
1.4m replys
5 comments
57.0k users