import random f = open("data.html", "w") f.write("\n\n") f.write("\n") f.write("\n") f.write("\n") for i in range(100): y = random.randint(0,99) x = random.randint(0,99) z = random.randint(0,255) f.write("") f.write("") f.write("\n") f.write("
yxz
" + str(y) + "" + str(x) + "" + str(z) + "
\n\n") f.close()