Returning true and a value from class function : <p>In my project i return <code>True</code> from a function within my class, when looking over the code i need to return <code>True</code> plus a <strong><em>URL value</em></strong> but i am coming in to issues, i would instanciate the class like:</p>

<pre><code>if Engine(driver).mode_login_and_post(driver, "http://" + xml_site_name.get_text() + "/wp-login.php", s_user, s_pass, xml_content_title.get_text(), body_with_html, SLEEP, captcha, verify=False) == True:
run more code once true is returned ...
looking to get the returned value of a url here is possible ...
</code></pre>

<p><code>Engine</code> is the class i have instantiated, the way it is now this works fine, i'm getting back <code>True</code> so i continue with the code execution, is there a way to get back <code>True</code> plus another value (in this case a URL) to use in the rest of the code execution? i cannot think of  away to do this, any help would be appreciated.</p>
