Good morning,
i tried to search for words with germen Umlaute in a file. But it does not 
work.
What do I have to do to make the procedure working?
Thanks for your help.
Claus

# -*- coding: utf-8 -*- 

"""

Created on Thu Apr 02 08:40:44 2015


@author: Claus

"""


c = "ü"

liste = open("Wortliste10.txt").read()

a = liste.split(",")


for s in a:

   if c in s:

     if len(s) == 8:

       print(s)

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to