Reputation: 43
I am running two python codes edited by two different text editors (Eclipse and Spyder), and from task manager I saw two python.exe processes. Will these two processes interfere with each other? I am worried because I used almost the same set of variable names across these two scripts and both codes are working on the same data input with very similar data structure.
Upvotes: 4
Views: 344
Reputation: 394945
The processes know nothing about each other.
It wouldn't matter if they were identical or not. Each process is allocated resources by the OS, so each process has its own resources, and they will not overlap. In fact, it is very common to use multiple similar Python processes to do multiprocessing when you have processing that can be done in parallel and logically allocated per process.
Unless they are both using a shared resource like a file, you have nothing to worry about.
Upvotes: 4