title: %cp drive commands in google colab with a dictionary loop python
body: <p>I have a dictionary of string and dataframes</p>
  <pre><code>dict_of_dfs = {'s_master': s_master, 
                      'assessment_combined' : assessment_combined,
                      'ib_12_21_vertical' : ib_12_21_vertical,
                      'df_rl_full_stack_melt' : df_rl_full_stack_melt}
  </code></pre>
  <p>they are output frequently and I like to archive them before outputting:</p>
  <pre><code>#grab datetime
  timestr = time.strftime(&quot;%Y%m%d-%H%M%S&quot;)
  
  #archive files
  os.chdir('/content/gdrive/My Drive/Output')
  %cp -av 's_master.csv' 'Archive/s_master${timestr}.csv'
  %cp -av 'assessment_combined.csv' 'Archive/assessment_combined_${timestr}.csv'
  %cp -av 'ib_12_21_vertical.csv' 'Archive/ib_12_21_vertical${timestr}.csv'
  %cp -av 'df_rl_full_stack_melt.csv' 'Archive/df_rl_full_stack_melt_${timestr}.csv'
  </code></pre>
  <p>I would like to do this in a loop:</p>
  <pre><code>for k,v in topic_dict_as.items():
    %cp -av k +'.csv' 'Archive/' + k + '_${timestr}.csv'
  </code></pre>
  <p>I will get:</p>
  <pre><code>cp: target '_20220414-081224.csv' is not a directory
  </code></pre>