470,613 Members | 2,198 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

invalid syntax - problems with CR (0x0a)

i'm very new to python and am experiencing the following problem:

an identical program that runs on certain computers crashes on other
machines due to Carriage Returns (CR; 0x0a) that
now appear in the source code. I guess it's some kind of character encoding
issue, i.e. ways of saving the source files...
I spent a lot of time trying to fix the problem but wasn't successful until

Can somebody help me?

error message inside the log file:

Traceback (most recent call last):
"S:\P037_Gewerbeverband\Programm\Testumgebung\meta _search_download_scheduler.py",
line 132, in instanceMP
exec 'import %s' % mp
File "<string>", line 1, in ?
File "S:\P037_Gewerbeverband\Programm\Testumgebung\weis seseiten.py", line
s = s.replace('.-', ' CHF')
s = s.replace(';', ' ')
SyntaxError: invalid syntax

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Mar 31 '06 #1
0 1193

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

303 posts views Thread by mike420 | last post: by
6 posts views Thread by Jean-Gael GRICOURT | last post: by
5 posts views Thread by DIBS | last post: by
10 posts views Thread by ronrsr | last post: by
10 posts views Thread by Terry IT | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.