A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/075046.html below:

using os module to copy files on windows

using os module to copy files on windows using os module to copy files on windowsChristian Reyes christian at rocketnetwork.com
Tue Apr 10 15:35:39 EDT 2001
Hello,
I've been using the os.system() call to copy files using the dos cmd line in
my python scripts.
for instance.

os.system('xcopy d:\\folder\\* d:\\folder2\\')

this does the job fine, but i'd like to eradicate all dependencies on the
cmd line from my scripts.

Is there a python os method that is equivalent to this?

any help would be much appreciated,
thank you,
christian



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4