Any time you have an arbitrary independent task that can be started and then stopped by the user, you will need processes in Python.
Java is a lot better at concurrency and has a vast library for concurrency primitives like atomic operations (CAS etc.)
Python's strengths lies in its strong ecosystem and ease of use. Many times that overshadows the benefits of Java's competent concurrency features.
Any time you have an arbitrary independent task that can be started and then stopped by the user, you will need processes in Python.
Java is a lot better at concurrency and has a vast library for concurrency primitives like atomic operations (CAS etc.)
Python's strengths lies in its strong ecosystem and ease of use. Many times that overshadows the benefits of Java's competent concurrency features.