Answer the question
In order to leave comments, you need to log in
Can multiple copies of one of my programs running in Pycharm write data to the same file?
I run 5 copies of my program through pycharm, they all write data from time to time to the same file.
What could be the threat?
Answer the question
In order to leave comments, you need to log in
I run 5 copies of my program through pycharm, they all write data from time to time to the same file. What could be the threat?I don't think that Python's file manipulation mechanisms are any different from those in other languages. Therefore, I can assume that if you do not hang a lock on the file (and do not remove them later) - this can threaten the chaos of this very data in the file, and at most - an error during recording (and that's not a fact).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question