Advertisement
here2share

# IMDb.py

Jul 9th, 2020
1,055
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2.  
  3. # IMDb.py
  4.  
  5. zzz='''
  6.  
  7. '''.splitlines()
  8.  
  9. t = []
  10. ttt = []
  11. while zzz:
  12.     z = zzz.pop(0)
  13.     if any([y in z for y in ['(2','(1']]):
  14.         x='\n'.join(t)
  15.         if not any([y in x for y in [' )','TV Special)']]):
  16.             ttt+=t[:-2]
  17.         t=['___\n',z]
  18.     else:
  19.         sss=''
  20.         for x in z:
  21.             if ord(x) < 128:
  22.                 sss+=x
  23.             else:
  24.                 sss+='%'
  25.         sss = sss.replace('%%','%')
  26.         t+=[sss.strip()]
  27. for z in ttt+t[:8]:
  28.     print z
  29. print
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement