Hello,
***
import urllib2
import re
import string
import sys
url = "http://www.macgyver.com/";
request = urllib2.Request(url)
opener = urllib2.build_opener()
html = opener.open(request).read()
match = re.compile("(.+)", re.DOTALL)
out = match.findall(html)
print out
**
*****
This worked like a charm! :)
I used Python about a year ago and I have forgotten some of its
properties.
Thanks to both of you!
-kuratkull
>
> > I would like to print out string with formatting, but as I read, the
> > string is made into a raw string when using re.
>