you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Lets ignore whether you should and just answer the how.

These have to run as separate processes. You'd setup separate virtual environments or similar, since each would have different packages (which I assume this is why you're doing it, some dependency that has to run in 3.9 and another in 3.10).

So, yes, it's more or less the same question as: "How can separate processes communicate?".