ocean #7071(2008/08/09 08:41 GMT) [ Python ] Rating0/0=0.00
空気読まずに、普通にGO
1 2 3 4 5 6
url = "http://www.gnu.org/licenses/gpl.txt" dic = {} for index, line in enumerate(urllib.urlopen(url)): for word in re.findall('\w+', line): dic.setdefault(word, []).append(index + 1) print dic
Rating0/0=0.00-0+
[ reply ]
ocean
#7071()
[
Python
]
Rating0/0=0.00
空気読まずに、普通にGO
Rating0/0=0.00-0+
[ reply ]