title: Is there a way to assign variable in Robot Framework to python without using it as an argument?
body: <p>My robot keyword looks like this:</p>
  
  <pre><code>${HW_list}  Get_hw_list  ${file}
  Run process   python    python_test.py 
  </code></pre>
  
  <p>Inside my python_test.py</p>
  
  <pre><code>from robot.libraries.BuiltIn import BuiltIn
  List_of_modules = BuiltIn().get_variable_value("${HW_list}")
  </code></pre>
  
  <p>Im having an error saying, </p>
  
  <blockquote>
    <p>robot.libraries.BuiltIn.RobotNotRunningError: Cannot access execution
    context</p>
  </blockquote>
  
  <p>I've tried searching for similar issues but I can't find where I am wrong. I also have RF==3.1.2 since in 1 post, I think there was an issue that was fixed on this version.</p>