<s> from rllab import config <EOL> import os <EOL> import argparse <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> parser = argparse . ArgumentParser ( ) <EOL> parser . add_argument ( '<STR_LIT>' , type = str , default = None , nargs = '<STR_LIT:?>' ) <EOL> args = parser . parse_args ( ) <EOL> remote_dir = config . AWS_S3_PATH <EOL> local_dir = os . path . join ( config . LOG_DIR , "<STR_LIT>" ) <EOL> if args . folder : <EOL> remote_dir = os . path . join ( remote_dir , args . folder ) <EOL> local_dir = os . path . join ( local_dir , args . folder ) <EOL> os . system ( """<STR_LIT>""" . format ( local_dir = local_dir , remote_dir = remote_dir ) ) </s>
