Because you want to do 2 things at once, you would use a multiprocessing Process to run the robot code. Input can then be done separately from the command line. To communicate with a running process, use a multiprocessing Manager dictionary or list, i.e. update the Manager dict or list with the input from the command line. The robot process would check for a change each pass through the while.
Parallel Processing in Python with Robot
Parallel Processing in Python with Robot
|
|
Messages In This Thread |
Parallel Processing in Python with Robot - by crcali - Apr-04-2018, 06:41 PM
RE: Parallel Processing in Python with Robot - by Larz60+ - Apr-04-2018, 08:54 PM
RE: Parallel Processing in Python with Robot - by woooee - Apr-04-2018, 09:02 PM
RE: Parallel Processing in Python with Robot - by crcali - Apr-04-2018, 10:23 PM
RE: Parallel Processing in Python with Robot - by Larz60+ - Apr-05-2018, 02:57 AM
RE: Parallel Processing in Python with Robot - by woooee - Apr-06-2018, 01:21 AM
RE: Parallel Processing in Python with Robot - by Larz60+ - Apr-06-2018, 03:48 AM
|
Users browsing this thread: 1 Guest(s)