cross-platform imports: import hook for end-of-line conversion

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Wed May 30 03:06:24 EDT 2001


Tue, 29 May 2001 16:08:17 GMT, Pete Shinners <shredwheat at mediaone.net> pisze:

> the one thing it is still missing is the problem with
> 
> #!/usr/bin/env python
> 
> and line endings, but that is more a shell problem than a python
> problem.

It's an OS problem.

> #!/usr/bin/env python -eat
> 
> that would definitely run on unix with windows linefeeds. i
> don't know if it would fly on unix with mac linefeeds though?

I guess not.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list