title: How to use extra arguments passed with Variable file - Robot framework
body: <p>In Robot Framework user guide there is a section that describes how to pass variable files and also some possible variables if needed. <br>
  Example:<br>
  <code>pybot --variablefile taking_arguments.py:arg1:arg2</code><br></p>
  
  <p>My question is can i use these possible variables arg1 and arg2 in the taking_arguments.py file afterwards and if i can then how?</p>
  
  <p>Right now i have this:</p>
  
  <p><code>pybot --variablefile taking_arguments.py:arg1:arg2</code></p>
  
  <p>taking_arguments.py contents:</p>
  
  <p><code>IP_PREFIX = arg1</code></p>
  
  <p>But that results in </p>
  
  <p><code>NameError: name 'arg1' is not defined</code></p>