Hello,
About this one. I tried the os.system copy. But it seems I cant find the
right syntax.
*os.system ("xcopy /s %s %s" % (dirname1, dirname2))*
This one seems to not working.
Is there anyway I can do this way:
localpath= c:\
networkpath=g:\
os.system("copy localpath networkpath)
I tried many variations, but still not working. Any help will apreciated :/
Thanks !
2010/7/19 Vlastimil Brom <[email protected]>
> 2010/7/19 oyster <[email protected]>:
> > I mean writeonly, hidden, system and so on attributes
> >
> > I use windows, but if possible, is there any method to do so in a
> > crossplatfrom way?
> >
> > thanks
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
>
> You may check to see several possibilities
> http://timgolden.me.uk/python/win32_how_do_i/copy-a-file.html
> Probably the shutil module might be appropriate for simple usecases.
>
> hth,
> vbr
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list