Re: [Tutor] Problem with os.system

2013-03-04 Thread Brad Hudson
> I have given the admin privileges for my drive but still os.system won't > work :( > Are you saying you applied "Administrator" privileges to the drive/folder? If so, are you executing your script as a normal user or as "Administrator"? Example: In order to run something from the command prompt a

Re: [Tutor] Problem with os.system

2013-03-01 Thread Brad Hudson
> #!/usr/bin/env python > > import os > > global name_wo_ext > > name_wo_ext = "d:\\fun" > > os.system("mkdir %s" % (name_wo_ext)) > > > > This gets executed well but there is no directory created L I tried with > another command as below and it works for me > This is not a problem with os.system.

Re: [Tutor] Problem with os.system

2013-03-01 Thread Dave Angel
On 03/01/2013 08:07 AM, Vijay Kumar R wrote: I was using python for some application which used to create directories and also to run some exes using the os.system command from a program.py file which was working fine. For some reasons I got my system formatted and got the windows 7 installed.

Re: [Tutor] Problem with os.system

2013-03-01 Thread Albert-Jan Roskam
>I was using python for some application which used to create directories and >also to run some exes using the os.system command from a program.py file which >was working fine. For some reasons I got my system formatted and got the >windows 7 installed. >  >Now again I installed python and trie

[Tutor] Problem with os.system

2013-03-01 Thread Vijay Kumar R
I was using python for some application which used to create directories and also to run some exes using the os.system command from a program.py file which was working fine. For some reasons I got my system formatted and got the windows 7 installed. Now again I installed python and tried runnin