title: Tasket cmd in Python (windows)
body: <p>Hi all I am just wondering how I can use Taskset command in windows?</p>
  <p>Here's Part of code which is written in python and I am running it on windows it is giving error as <code>taskset' is not recognized as an internal or external command</code></p>
  <p>here's code below :-</p>
  <pre><code>    event_list = df.to_records(index=False)
      event_list  = list(event_list)
      os.system(&quot;taskset -p 0xff %d&quot; % os.getpid())
      p = Pool(processes=60)
      p.starmap(calc_hazard,event_list)
  
  print(time.time()-t_initial)```
  </code></pre>