<s> import os <EOL> import runpy <EOL> PKG = '<STR_LIT>' <EOL> try : <EOL> run_globals = runpy . run_module ( PKG , run_name = '<STR_LIT:__main__>' , alter_sys = True ) <EOL> executed = os . path . splitext ( os . path . basename ( run_globals [ '<STR_LIT>' ] ) ) [ <NUM_LIT:0> ] <EOL> if executed != '<STR_LIT:__main__>' : <EOL> raise ImportError ( '<STR_LIT>' % <EOL> executed ) <EOL> except ImportError : <EOL> runpy . run_module ( '<STR_LIT>' % PKG , run_name = '<STR_LIT:__main__>' , alter_sys = True ) </s>
