Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am about to re-install my WinXP. I have Python 2.7.2 installed on it with many standard and third party libraries. I would like to back up the c:/python27 directory before reinstalling the OS, install fresh python and then copy the contents of the backed up directory into the newly created one. Is this a valid approach? Are there better ways to do this?

share|improve this question

I believe it is a valid approach. Windows lacks a package manager for things like python. One thing to remember is that when you use the msi installer, it modifies the system path and filename associations for you, so you may want to consider backing up the directory, then doing a fresh base python install. Once that is done, you should be able to copy the contents of the old c:\python27 to the new one.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .