Can i store words in file using python like this? : import random, sys
from urllib import urlopen
word_url = "http://scrapmaker.com/data/wordlists/dictionaries/rockyou.txt"
words = []

for word in urlopen(word_url).readlines():
    print "Doing it now..."
    wordlist = open('wordlist.txt', 'w')
    wordlist.write(words)
    wordlist.close()
    print "File written successfully!"