How to make an os.system call, without the pop up of the dos-box???

spex66 at my-deja.com spex66 at my-deja.com
Fri Aug 4 18:33:01 EDT 2000


In article <398B1834.CA05B58C at roguewave.com>,
  Bjorn Pettersen <bjorn at roguewave.com> wrote:
> Not an answer to your question, but perhaps to your problem <wink>
>
>   import shutil
>   shutil.rmtree(r'C:\arwa\dev\', 1)
>   shutil.copyfile('../AccessDB_ORIG\OrigPTC.mdb',
> '../AccessDB_ORIG/PTC-000526.mdb')
>
> and-as-a-bonus-it'll-work-on-unix-too'ly y'rs
> -- bjorn
thanks to all answers in the thread (wow, three diffrent ways :-)

one point to love Python, are the python-people! (and the language
style is great, too)

bjorns solution is my favorite!

(=PA=)


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list