Latest recipes tagged "all_versions"http://code.activestate.com/recipes/tags/all_versions/new/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> Backwards Compatibility part 4... (Python) 2011-10-10T19:39:54-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577903-backwards-compatibility-part-4/ <p style="color: grey"> Python recipe 577903 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/apple/">apple</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/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/winuae/">winuae</a>). </p> <p>Some example lines to add to any test code you write that work from Python 1.4.0 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>Some people will know this but very MANY won't and there will be more to come that involve platform and version compatibility...</p> <p>Enjoy finding simple solutions to often VERY difficult problems...</p> <p>(Watch out for word wrapping, etc...)</p> <p>Bazza, G0LCU...</p> Backwards Compatibility part 3... (Python) 2011-09-29T21:48:24-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577884-backwards-compatibility-part-3/ <p style="color: grey"> Python recipe 577884 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/apple/">apple</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/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/winuae/">winuae</a>). </p> <p>Some example lines to add to any test code you write that work from Python 1.4.0 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>Some people will know this but MANY won't and there will be more to come that involve platform and version compatibility...</p> <p>Enjoy finding simple solutions to often VERY difficult problems...</p> <p>(Watch out for wordwrapping, etc...)</p> <p>Bazza, G0LCU...</p> Bacwards compatibility part 2... (Python) 2011-09-19T10:01:56-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577872-bacwards-compatibility-part-2/ <p style="color: grey"> Python recipe 577872 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/apple/">apple</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/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/winuae/">winuae</a>). </p> <p>Some example lines to add to any test code you write that work from Python 1.4.0 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>Some people will know this but MANY won't and there will be more to come that involve platform and version compatibility...</p> <p>Enjoy finding simple solutions to often VERY difficult problems...</p> <p>(Watch out for wordwrapping, etc...)</p> <p>Bazza, G0LCU...</p> Backwards compatibility... (Python) 2011-09-16T18:36:14-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577868-backwards-compatibility/ <p style="color: grey"> Python recipe 577868 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/apple/">apple</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/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/winuae/">winuae</a>). </p> <p>Some example lines to add to any test code you write that work from Python 1.4.0 to 3.2.2 on various platforms. It is all Public Domain and you can do with it as you please...</p> <p>This is to go alongside this little snippet... <a href="http://code.activestate.com/recipes/577836-raw_input-for-all-versions-of-python/?in=lang-python" rel="nofollow">http://code.activestate.com/recipes/577836-raw_input-for-all-versions-of-python/?in=lang-python</a></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>Some people will know this but MANY won't and there will be more to come that involve platform and version compatibility...</p> <p>Enjoy finding simple solutions to often VERY difficult problems...</p> <p>(Watch out for wordwrapping, etc...)</p> <p>Bazza, G0LCU...</p>