Thanks for all your help guys, but I'm facing another little thing here, if I'm getting the word from a file (this means I'm not typing the word directly into the code), for example:
for line in textf: tempwords = line.split(None) for c in range(len(tempwords)): if c == 0: st = tempwords[c] where st is the word I'm getting from the file, how do I tell python that my variable st has a unicode string, I cant type st = u'tempwords[c]' because that would be the unicode representation of the string between the quotes, is there any other way to do this? thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---