old_contents: import digitalocean
  manager = digitalocean.Manager(token="XXXX")
  
  my_droplets = manager.get_all_droplets()
  for droplet in my_droplets:
      droplet.destroy()
  
new_contents: #!/usr/local/bin/python
  
  import digitalocean
  
  with open ("token-api.txt", "r") as file:
      token = file.read().replace('\n', '')
      print "Using API token: " + token
      manager = digitalocean.Manager(token=token)
      my_droplets = manager.get_all_droplets()
      print str(len(my_droplets)) + " droplets found..."
      for droplet in my_droplets:
          print "Destroying droplet" + str(droplet)
          droplet.destroy()
  
subject: Destroy update