Popular recipes tagged "backwards_compatibility" but not "macbook_pro"http://code.activestate.com/recipes/tags/backwards_compatibility-macbook_pro/2011-11-04T18:17:48-07:00ActiveState Code Recipes"execfile()" IS BACK! Backwards Compatibility part 5... (Python) 2011-11-04T18:17:48-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577942-execfile-is-back-backwards-compatibility-part-5/ <p style="color: grey"> Python recipe 577942 by <a href="/recipes/users/4177147/">Barry Walker</a> (<a href="/recipes/tags/all_versions/">all_versions</a>, <a href="/recipes/tags/amiga/">amiga</a>, <a href="/recipes/tags/backwards_compatibility/">backwards_compatibility</a>, <a href="/recipes/tags/e_uae/">e_uae</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/winuae/">winuae</a>). </p> <p>"execfile()" IS BACK!!!</p> <p>Some example lines to add to any test code you write that work from Python (1.4.0), 2.0.1 to 3.2.2 on various platforms.</p> <p>It is all Public Domain and you can do with it as you please...</p> <p>I really don't care how you vote and/or rate this as I try to write Python code for my usage to work on the platforms and versions inside the code.</p> <p>These are a little tongue in cheek so don't take them too seriously.</p> <p>Enjoy finding simple solutions to often VERY difficult problems...</p> <p>(Watch out for wordwrapping, etc...)</p> <p>This will probably be the last one of these uploads as the last one did not "take off".</p> <p>Bazza, G0LCU...</p>