appending file

Falcolas garrickp at gmail.com
Fri Jun 29 23:22:21 CEST 2007


On Jun 29, 1:04 pm, Kuo <chinchia.... at sbcglobal.com> wrote:
> # FPGA CLOCK^M
> NET "SYSCLK_A"  loc = N16  | TNM_NET = SYSCLK_A;^M
> NET "SYSCLK_AN" loc = M16  | TNM_NET = SYSCLK_A;^M

I see those bloody ^M's anytime I have to deal with a DOS file (since
it's the carrage return \r character). Is 'pin' a DOS generated file?
If you want to deal with a file which contains them, look for and get
rid of the \r character.




More information about the Python-list mailing list