GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Parent Directory
  • fixeoln-all.py
  • fixeoln.py
  • fixeoln_docetc/

This view

  • Original page
  • New address

GeezerVison is showing learning-python.com — Index of /fixeoln

Index of /fixeoln

  • Parent Directory
  • fixeoln-all.py
  • fixeoln.py
  • fixeoln_docetc/

This pair of scripts converts end-lines to Windows or Unix form, in either one file (fixeoln.py) or all text files in a folder tree (fixeoln-all.py). They can be run on any platform, and change only lines that are not in the target format.

See these scripts' docstrings for usage, and for example runs see fixeoln_docetc/fixeoln-test.txt.

The top-level fixeoln-all.py folder-tree walker was added June 2017.



[Home page] Books Code Blog Python Author Training Search ©M.Lutz
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.