<s> """<STR_LIT>""" <EOL> import os <EOL> import shutil <EOL> import urllib . request <EOL> import tarfile <EOL> import tempfile <EOL> url = '<STR_LIT>' <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> shutil . rmtree ( '<STR_LIT>' ) <EOL> with tempfile . TemporaryDirectory ( ) as tempdir : <EOL> ftpstream = urllib . request . urlopen ( url ) <EOL> tf = tarfile . open ( fileobj = ftpstream , mode = "<STR_LIT>" ) <EOL> directory = tf . next ( ) . name <EOL> print ( directory ) <EOL> tf . extractall ( tempdir ) <EOL> shutil . move ( os . path . join ( tempdir , directory ) , '<STR_LIT>' ) <EOL> os . system ( '<STR_LIT>' ) <EOL> os . system ( '<STR_LIT>' ) </s>
