Guest User

Untitled

a guest
Dec 16th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. # @Author: john
  4. # @Date: 2016-08-25 20:23:52
  5. # @Last Modified by: john
  6. # @Last Modified time: 2016-08-25 20:32:26
  7.  
  8. from random import shuffle, randint
  9.  
  10. h = open('orchestra','w')
  11.  
  12. total_bytes = 1000
  13. mess = []
  14. for i in range(total_bytes):
  15. possibs = range(0, 255)
  16. shuffle(possibs)
  17. for k in possibs:
  18. mess.append(chr(k))
  19.  
  20. if i == total_bytes/2:
  21. mess.append("USCGA{there_is_no_orchestra_without_the_strings}")
  22.  
  23. content = "".join(mess)
  24. h.write(content)
  25. h.close()
Add Comment
Please, Sign In to add comment