Skip to content

Named option: backup=y #14

Description

@DG12

I have added a few lines to rename the original file before saving by appending a '~' (tilde)
in put_file

was:

os.remove(fname)

now:

    try:
        os.remove(fname+'~')
    except:
        pass
    try:
        os.rename(fname,fname+'~') 
    except:
        pass

Your thoughts?
Is this the best way to discuss this with you?
Are you still interested?
Feel free to email me.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions