<s> import os <EOL> import sys <EOL> if len ( sys . argv ) == <NUM_LIT:2> : <EOL> basename , ext = os . path . splitext ( sys . argv [ <NUM_LIT:1> ] ) <EOL> with open ( '<STR_LIT>' % basename , '<STR_LIT:w>' ) as f : <EOL> f . write ( '<STR_LIT>' % basename ) <EOL> with open ( '<STR_LIT>' % basename , '<STR_LIT:w>' ) as f : <EOL> f . write ( '<STR_LIT>' % basename ) </s>
