Popular recipes tagged "meta:requires=py_compile" and "sysadmin" but not "package"http://code.activestate.com/recipes/tags/meta:requires=py_compile-package+sysadmin/2001-05-29T20:32:47-07:00ActiveState Code Recipescross-platform import hook for end-of-line conversion (Python)
2001-05-29T20:32:47-07:00David Goodgerhttp://code.activestate.com/recipes/users/110906/http://code.activestate.com/recipes/59867-cross-platform-import-hook-for-end-of-line-convers/
<p style="color: grey">
Python
recipe 59867
by <a href="/recipes/users/110906/">David Goodger</a>
(<a href="/recipes/tags/sysadmin/">sysadmin</a>).
</p>
<p>This code eliminates the need to convert line endings when moving .py modules between OSes. Put in your sitecustomize.py, anywhere on sys.path, and you'll be able to import Python modules with any of Unix, Mac, or Windows line endings, on any OS.</p>