title: Convert code to exe or GUI app
body: <p>I am a beginner to programming, and I have started to learn Python. I am trying to create a search and replace application, which allows us to select a number of files and then replaces the words or phrases that we want.</p>
  
  <p>I have already written that script, but I want to make something which works in Windows XP.
  Actually I want it to be a GUI application that works in Windows. So what am I supposed to do? Here's the code that I have written:</p>
  
  <pre><code>#replace.py
  import string
  def main():
      filez = raw_input("which files do you want processed?")
      f=open(filez,"r")
      data=f.read()
      w1=raw_input("what do you want to replace?")
      w2= raw_input("what do you want to replace with?")
      print data
      data=data.replace(w1,w2)
      print data
      f=open(filez,"w")
      f.write(data)
      f.close()
  main()
  </code></pre>