title: How to call connect() method of weblogic in python which is called inside a shell script?
body: <p>The requirement is to call the weblogic function:</p>
  
  <pre><code>connect([username, password], [url], [adminServerName])
  </code></pre>
  
  <p>inside a <strong>python file</strong> which is again called inside a <strong>shellscript</strong> as follows:</p>
  
  <p>Inside shell script:</p>
  
  <pre><code>python myweblogiccall.py
  </code></pre>
  
  <p>I am getting an exception like </p>
  
  <blockquote>
    <p>unknown name connect</p>
  </blockquote>
  
  <p>when called inside the python file</p>