Why do I get no error when running one codes on multiple terminals? : I'm parsing text files with Python code on Linux.


I never majored in computer, and I don't know what material to look for and which keyword to search for.
Using vim on multiple terminals targeting a file on Linux gives an error. (Maybe because of temporary files?)
And When I open a file in Python, the file once read through must reset the pointer.

BUT, I am now processing multiple files,same time, using a single piece of code (ex,"a.py").

So suddenly I was curious, why do I get no error when running one codes on multiple terminals?


Isn't the code going to be related to pointers?
Or do I get a temporary file to which copied the code when using it?