Question : trying to use a script python on xp, read on a truecrypt container,  i receive a permission problem when i'm the administrator, help?

hello,

preambule:
I'm new to python, i'd like to use it for a python tool 'tkdo' which will help me with my "otl" files  made out of vimOutliner.

i'm dealing with a permission file problem,


when i start working on my computer, i mount an encrypted partition to "T:"
in this partition i put all my config files as well as keys...etc.


then i launch my tkdo which should should read files inside "T".
when launching my script i receive the following errro : cf Code.

thank you in advance for all infos,
if the script is necessary i'll paste in it here.

Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
C:\Documents and Settings\Erwin>"T:\003 - OTL\10 - tkdo\todo.py"
Traceback (most recent call last):
  File "T:\003 - OTL\10 - tkdo\todo.py", line 2783, in ?
    main(sys.argv[1:])
  File "T:\003 - OTL\10 - tkdo\todo.py", line 70, in main
    create_config(cfg)
  File "T:\003 - OTL\10 - tkdo\todo.py", line 259, in create_con
    os.makedirs(dirname)
  File "C:\Python24\lib\os.py", line 156, in makedirs
    makedirs(head, mode)
  File "C:\Python24\lib\os.py", line 156, in makedirs
    makedirs(head, mode)
  File "C:\Python24\lib\os.py", line 156, in makedirs
    makedirs(head, mode)
  File "C:\Python24\lib\os.py", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: 'T:'
Open in New Window Select All

Answer : trying to use a script python on xp, read on a truecrypt container,  i receive a permission problem when i'm the administrator, help?

To use spaces and backslashes in file/dir names you need to escape each of them with prepending \
Random Solutions  
 
programming4us programming4us