A
A
Artem2017-02-23 15:10:30
Python
Artem, 2017-02-23 15:10:30

How to create 2 processes in python with access to a file?

Greetings.
there is such a task - you need to create two processes and share access to the .txt file.
The task is to output lines from a .txt file using two processes without violating the order of the lines.
I'm trying to smoke the documentation, but "cho-that is complicated" (c). Can someone explain popularly how these processes are created? and how to describe their interaction?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
longclaps, 2017-02-23
@Malodar

> The task is to display the lines from the .txt file using two processes without violating the order of the lines.
They want the processes from you to work not in parallel, but in a pipeline .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question