title: Calling function from outside the class in python or from another file
body: <p>In the below code how can I call function <code>open_url()</code> from outside the class or from another file in python ? </p>
  
  <pre><code>from selenium import selenium
  import unittest, time, re
  from selenium import webdriver
  
  seed_url="http://www.google.com"
  class Test(unittest.TestCase):
  
      def setUp(self):
          self.verificationErrors = []
          self.selenium = selenium("localhost", 4444, "*firefox", "https://www.google.com/")
          self.selenium.start()
  
      def test_urlfunctions(self):
          sel = self.selenium
          sel = webdriver.Firefox()
  
          def open_url(url):
              sel.get(url)
  
          open_url(seed_url)
  
      def tearDown(self):
          self.selenium.stop()
          self.assertEqual([], self.verificationErrors)
  
  
  if __name__ == "__main__":
      unittest.main()
  </code></pre>