On Wed, Oct 28, 2009 at 12:43 AM, Gabriel Genellina
wrote:
> How can one copy files on the OS level?
> The idea was just to show how to call CopyFile using ctypes, not implying
> that it's the only way to do that. Everyone knows that the One and True Way
> of copying files is using PIP.
Yuk!
En Tue, 27 Oct 2009 23:04:47 -0300, Steven D'Aprano
escribió:
On Tue, 27 Oct 2009 21:48:36 -0300, Gabriel Genellina wrote:
En Tue, 27 Oct 2009 10:55:09 -0300, TerryP
escribió:
On Oct 26, 10:00 am, Anthra Norell wrote:
How can one copy files on the OS level?
from ctypes import windll
Cop
On Tue, 27 Oct 2009 21:48:36 -0300, Gabriel Genellina wrote:
> En Tue, 27 Oct 2009 10:55:09 -0300, TerryP
> escribió:
>
>> On Oct 26, 10:00 am, Anthra Norell wrote:
>>> The function "os.system
>>> ('copy file_name directory_name')" turns out doesn't do anything
>>> except flashing a DOS command
En Tue, 27 Oct 2009 10:55:09 -0300, TerryP
escribió:
On Oct 26, 10:00 am, Anthra Norell wrote:
The function "os.system
('copy file_name directory_name')" turns out doesn't do anything except
flashing a DOS command window for half a second. So my question is: How
can one copy files on the OS l
On Oct 26, 10:00 am, Anthra Norell wrote:
> The function "os.system
> ('copy file_name directory_name')" turns out doesn't do anything except
> flashing a DOS command window for half a second. So my question is: How
> can one copy files on the OS level?
Under a Windows system the built in command
Kushal Kumaran wrote:
On Tue, Oct 27, 2009 at 2:04 AM, Anthra Norell wrote:
No, I didn't. There's a number of modules I know by name only and shutils
was one of them. A quick peek confirmed that it is exactly what I am looking
for. Thank you very much for the advice.
Then Doug Hell
On Tue, Oct 27, 2009 at 2:04 AM, Anthra Norell wrote:
>
>
> No, I didn't. There's a number of modules I know by name only and shutils
> was one of them. A quick peek confirmed that it is exactly what I am looking
> for. Thank you very much for the advice.
>
Then Doug Hellmann's PyMOTW is for you
Diez B. Roggisch wrote:
Anthra Norell wrote:
I have a Python program that needs to copy files around. I could read
and write which would be inefficient and would time-stamp the copy. The
module "os" has lots of operating system functions, but none that copies
files I could make out reading t
Anthra Norell wrote:
> I have a Python program that needs to copy files around. I could read
> and write which would be inefficient and would time-stamp the copy. The
> module "os" has lots of operating system functions, but none that copies
> files I could make out reading the doc twice. The func
I have a Python program that needs to copy files around. I could read
and write which would be inefficient and would time-stamp the copy. The
module "os" has lots of operating system functions, but none that copies
files I could make out reading the doc twice. The function "os.system
('copy fil
10 matches
Mail list logo