calling system command in window is very slow in python 2.5.1
wang frank
fw3 at hotmail.co.jp
Thu Jan 3 20:51:46 EST 2008
Hi,
I am running a python script that will change the attribute of a directory and its subdiretory by command:
os.system("chmod -R 7777 .")
or
os.system("attrib -R * /S")
Both commands chmod and attrib run quite fast in dos command shell. However, inside python, they are very slow and I have to kill them by Control-C. I do not know why?
Can anyone help me to figure it out?
Thanks
Frank
_________________________________________________________________
Hotmailがお届けする、幸せになるためのメールマガジン「ビジネス幸福論」実施中
http://go.windowslive.jp/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080104/ebdc84ba/attachment-0001.html>
More information about the Python-list
mailing list