<s> import sys <EOL> from simple_pvr . pvr_initializer import setup <EOL> from simple_pvr import RecordingPlanner <EOL> from simple_pvr . database_initializer import * <EOL> def main ( argv = None ) : <EOL> db . create_all ( ) <EOL> print "<STR_LIT>" <EOL> setup ( ) <EOL> print "<STR_LIT>" <EOL> from simple_pvr import server <EOL> server . startServer ( ) <EOL> server . recording_planner = RecordingPlanner ( ) <EOL> server . reload_schedules ( ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> sys . exit ( main ( ) ) </s>
