how to copy and move file with its attribute?

Discussion in 'Python' started by oyster, Jul 19, 2010.

  1. oyster

    oyster Guest

    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
     
    oyster, Jul 19, 2010
    #1
    1. Advertising

  2. oyster

    Peter Otten Guest

    oyster wrote:

    > 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?


    I can't check, but shutil.copy2() may do what you want.

    Peter
     
    Peter Otten, Jul 19, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stefan_W
    Replies:
    1
    Views:
    8,215
    Stefan_W
    Nov 5, 2008
  2. thunk
    Replies:
    1
    Views:
    315
    thunk
    Mar 30, 2010
  3. thunk
    Replies:
    0
    Views:
    488
    thunk
    Apr 1, 2010
  4. thunk
    Replies:
    14
    Views:
    627
    thunk
    Apr 3, 2010
  5. Mounir
    Replies:
    13
    Views:
    177
Loading...

Share This Page