PythonWin 2 UNIX

Eric Renouf erenouf at opticominc.com
Thu Apr 12 23:22:38 EDT 2001


How are you getting the files to the FreeBSD box? If you're ftping them just
make sure you ftp in ascii mode and it should automatically take care of this
for you I think, so you don't have to explicitly do anything to the files.

Steve Holden wrote:

> "dsavitsk" <dsavitsk at e-coli.net> wrote in message
> news:hLPy6.9101$mA.3008479 at newsrump.sjc.telocity.net...
> > I wrote some code w/ PythonWin (ActivePython 2.0) and when I tried to run
> it
> > on FreeBSD (Python 1.5.2 / Idle .5) I got syntax errors due to the '\r' on
> > the end of every line.  Is there a way to stop this behavior from PyWin?
> > thanks,
> > doug
> >
> I'm afraid the best you can do (as far as I can tell) is use an editor which
> will store files in UNIX rather than Windoze format. I use Programmers' File
> Editor a lot for this, since you can flip formats with a mouse click.
>
> regards
>  Steve

--
Eric Renouf
Software Engineer
Opticom Inc.
www.getiview.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20010413/f438fc0d/attachment.html>


More information about the Python-list mailing list