<s> import sys <EOL> import os <EOL> import shutil <EOL> import configfile <EOL> from datetime import datetime <EOL> location = str ( sys . argv [ <NUM_LIT:1> ] ) <EOL> pathf = location + "<STR_LIT>" <EOL> os . system ( "<STR_LIT>" + pathf ) <EOL> shutil . copyfile ( "<STR_LIT>" , pathf ) <EOL> fullname = str ( configfile . readname ( ) ) <EOL> year = str ( datetime . now ( ) . year ) <EOL> with open ( pathf , '<STR_LIT:r>' ) as file : <EOL> data = file . readlines ( ) <EOL> data [ <NUM_LIT:3> ] = year + "<STR_LIT:U+0020>" + fullname + "<STR_LIT:\n>" <EOL> with open ( pathf , '<STR_LIT:w>' ) as file : <EOL> file . writelines ( data ) <EOL> ( root , ext ) = os . path . splitext ( pathf ) <EOL> os . rename ( root + "<STR_LIT>" , root + "<STR_LIT>" ) </s>
