scripts

random scripts
git clone https://git.parazyd.org/scripts
Log | Files | Refs

bible (233B)


      1 #!/usr/bin/env python3
      2 
      3 from random import randint
      4 
      5 
      6 bible = open('/home/parazyd/Bible.TXT').read()
      7 bible = bible.split('\n\n')
      8 rand = randint(0, len(bible))
      9 
     10 print('line: %d\n' % rand)
     11 
     12 for i in range(4):
     13 	print(bible[rand+i]+'\n')