title: Robot Framework is not running the python code, It opens the code in notepad
body: <p>I'm trying to run the python code from the robot framework.</p>
  <p>But sometimes it works fine and creating a folder in the location and sometimes it opening the python code in notepad instead of running the python code.</p>
  <p><strong>robot framework</strong></p>
  <pre><code>*** Settings ****
  Library  Process
  Library  OperatingSystem
  *** Variables ***
  *** Test Cases ***
  Start logonpad
      OperatingSystem.run     foldercreate.py
  </code></pre>
  <p><strong><strong><strong>python code</strong></strong></strong></p>
  <pre><code>import os  
  import pandas  
  os.mkdir(&quot;G:/NewFolder&quot;)  
  </code></pre>
  <blockquote>
  <p>I have tried to restart the machine and tried it again then also facing the same issue.</p>
  </blockquote>
  <p><strong>Note: I need to know why it's running sometimes and opening the code at other times.</strong></p>