Elija un fragmento de texto al azar
import random
line = random.choice(open('data.txt').readlines())
Important Ibis
import random
line = random.choice(open('data.txt').readlines())