diff --git a/anni90.py b/anni90.py new file mode 100644 index 0000000..733e469 --- /dev/null +++ b/anni90.py @@ -0,0 +1,5 @@ +from infissa import * + +not d^_^b + +(d^_^b) + [o_o] == 883 diff --git a/infissa.py b/infissa.py new file mode 100644 index 0000000..8fdf1ec --- /dev/null +++ b/infissa.py @@ -0,0 +1,32 @@ +from subprocess import Popen, PIPE + + +class Giappo: + def __init__(self, symbol): + self.s = symbol + + def __xor__(self, other): + return Giappo(self.s + other.s) + + def __add__(self, other): + if other == [o_o]: + return Musicona('883.mp4') + +class Musicona: + def __init__(self, url): + self.url = url + + def __eq__(self, other): + if other == 883: + p = Popen(['mplayer', '-fs', self.url], stdout=PIPE, stderr=PIPE) + p.communicate() + +class Musicassetta: + def __init__(self): + pass + +d = Giappo('d') +b = Giappo('b') +_ = Giappo('_') +o_o = Musicassetta() +__all__ = ['d', '_', 'b', 'o_o']