title: Tidier way of trying to import a module from multiple locations?
body: <p>Is there a way to tidy-up the following code, rather than a series of nested try/except statements?</p>
  
  <pre><code>try:
      import simplejson as json
  except ImportError:
      try:
          import json
      except ImportError:
          try:
              from django.utils import simplejson as json
          except:
              raise "Requires either simplejson, Python 2.6 or django.utils!"
  </code></pre>