Re: Help with Latin Characters

2011-07-24 Thread Benjamin Kaplan
On Sun, Jul 24, 2011 at 3:47 PM, Joao Jacome wrote: > > 2011/7/24 Chris Angelico >> >> On Mon, Jul 25, 2011 at 5:01 AM, Joao Jacome wrote: >> > Already tried without unicode string in rootdir, same results. What if try >> > using raw strings? >> >> Raw strings are just another way of typing them

Re: Help with Latin Characters

2011-07-24 Thread Joao Jacome
2011/7/24 Chris Angelico > On Mon, Jul 25, 2011 at 5:01 AM, Joao Jacome wrote: > > Already tried without unicode string in rootdir, same results. What if > try > > using raw strings? > > Raw strings are just another way of typing them into your source code. > There are different ways of writing

Re: Help with Latin Characters

2011-07-24 Thread Chris Angelico
On Mon, Jul 25, 2011 at 5:01 AM, Joao Jacome wrote: > Already tried without unicode string in rootdir, same results. What if try > using raw strings? Raw strings are just another way of typing them into your source code. There are different ways of writing string literals, but they produce the sa

Re: Help with Latin Characters

2011-07-24 Thread Terry Reedy
On 7/24/2011 11:15 AM, Joao Jacome wrote: http://pastebin.com/aMrzczt4 list = os.listdir(dir) While somewhat natural, using 'list' as a local name and masking the builtin list function is a *very bad* idea. Someday you will do this and then use 'list(args)' expecting to call the list