Output source of page to a file

Using Beautiful Soup to write the source of the file to a seperate file that can then be processed later