<s> '''<STR_LIT>''' <EOL> import random <EOL> import subprocess <EOL> import platform <EOL> import sys <EOL> import time <EOL> __author__ = '<STR_LIT>' <EOL> __version__ = '<STR_LIT>' <EOL> DEBUG = True <EOL> class Concertina : <EOL> osName = platform . system ( ) <EOL> '''<STR_LIT>''' <EOL> isLinux = ( osName == '<STR_LIT>' ) <EOL> isDarwin = ( osName == '<STR_LIT>' ) <EOL> PHRASES = [ <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> ] <EOL> EMAILS = [ <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> ] <EOL> PASSWORDS = [ <EOL> "<STR_LIT>" , <EOL> "<STR_LIT:password>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> ] <EOL> def __init__ ( self ) : <EOL> pass <EOL> @ staticmethod <EOL> def getRandomText ( ) : <EOL> return random . choice ( Concertina . PHRASES ) <EOL> @ staticmethod <EOL> def sayRandomText ( ) : <EOL> text = Concertina . getRandomText ( ) <EOL> if Concertina . isLinux : <EOL> if DEBUG : <EOL> print >> sys . stderr , '<STR_LIT>' % text <EOL> pipe = subprocess . Popen ( [ '<STR_LIT>' ] ) <EOL> pipe . communicate ( '<STR_LIT>' % text ) <EOL> pipe . terminate ( ) <EOL> elif Concertina . isDarwin : <EOL> if DEBUG : <EOL> print >> sys . stderr , '<STR_LIT>' % text <EOL> subprocess . check_call ( [ '<STR_LIT>' , text ] ) <EOL> @ staticmethod <EOL> def getRandomEmail ( ) : <EOL> return random . choice ( Concertina . EMAILS ) <EOL> @ staticmethod <EOL> def getRandomPassword ( ) : <EOL> return random . choice ( Concertina . PASSWORDS ) </s>
