<s> import os . path <EOL> import os <EOL> import sys <EOL> from platform import platform <EOL> idlelib_dir = os . path . dirname ( os . path . dirname ( os . path . abspath ( __file__ ) ) ) <EOL> sys . path . insert ( <NUM_LIT:0> , idlelib_dir ) <EOL> if platform ( ) . lower ( ) . split ( '<STR_LIT:->' ) [ <NUM_LIT:0> ] in ( '<STR_LIT>' , '<STR_LIT>' ) : <EOL> from visual_common import __file__ as fname <EOL> docPath = os . path . join ( os . path . split ( os . path . split ( fname ) [ <NUM_LIT:0> ] ) [ <NUM_LIT:0> ] , '<STR_LIT>' , '<STR_LIT>' ) <EOL> os . chdir ( docPath ) <EOL> import vidle . PyShell <EOL> vidle . PyShell . main ( ) </s>
