IDLE on Windows; save files as UNIX?
paxcalpt at sapo.pt
Mon Mar 1 07:50:42 CET 2004
You can use the UNIX (also in cygwin) command dos2unix and unix2dos command
to do the convertion...
"Jay O'Connor" <jayoconnor at earthlink.net> escreveu na mensagem
news:lvo0c.15119$aT1.1581 at newsread1.news.pas.earthlink.net...
> I'm doing some Python CGI programming under Windows (Win95) but my CGIs
> run on Linux. If I try to write and save the files in IDLE, they get
> DOS format and won't run on the Linux server. If I load the files into
> text editor and explictely "Save As" in UNIX format, they work fine, but
> other editor is not Python aware so I'd rather not have to use if for main
> development, and having to load and resave my scripts before uploading to
> server is a bit obnoxious.
> Is there any way to for IDLE in Windows to save files in UNIX format?
> Note: Pythonwin does not work on my machine so I can't use it as an
More information about the Python-list