Python Forum
Parallel Processing in Python with Robot
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parallel Processing in Python with Robot
#3
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.
Reply


Messages In This Thread
RE: Parallel Processing in Python with Robot - by woooee - Apr-04-2018, 09:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Parallel processing - AttributeError: Can't get attribute 'sktimekmeans' Mohana1983 1 802 Jun-22-2023, 02:33 AM
Last Post: woooee
  parallel loop python caro 4 1,898 Jun-16-2022, 08:46 PM
Last Post: woooee
  The Wall-E Robot Argentum 1 1,459 Apr-03-2022, 03:01 PM
Last Post: sastonrobert
  mysql.connector.errors.ProgrammingError: Failed processing format-parameters; Python ilknurg 3 5,732 Jan-18-2022, 06:25 PM
Last Post: ilknurg
  SimpleHTTPRequestHandler ( verses ) Files Python Processing JohnnyCoffee 0 1,806 Apr-29-2021, 02:47 AM
Last Post: JohnnyCoffee
  Real Time Audio Processing with Python Sound-Device not working Slartybartfast 2 4,054 Mar-14-2021, 07:20 PM
Last Post: Slartybartfast
  DarkPaw Robot code Tyrelex78 3 2,182 Nov-27-2020, 12:06 AM
Last Post: Tyrelex78
  Image Processing in Python JoeDainton123 1 24,309 Oct-05-2020, 12:08 AM
Last Post: Larz60+
  Matlab to Python -- Parallel Computing zistambo 1 2,003 Jun-10-2020, 04:59 PM
Last Post: pyzyx3qwerty
  Use dynamic variable from parallel running python script Sicksym 0 1,891 May-15-2020, 02:52 PM
Last Post: Sicksym

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020