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
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
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
2011/7/24 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 'li
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
http://pastebin.com/aMrzczt4
When the script reaches a file with latin characters (ê é ã etc) it crashes.
Traceback (most recent call last):
File "C:\backup\ORGANI~1\teste.py", line 37, in
Retrieve(rootdir);
File "C:\backup\ORGANI~1\teste.py", line 25, in Retrieve
Retrieve(os.path.jo