title: Is there shorthand for returning a default value if None in Python?
body: <p>In C#, I can say <code>x ?? ""</code>, which will give me x if x is not null, and the empty string if x is null. I've found it useful for working with databases. </p>
  
  <p>Is there a way to return a default value if Python finds None in a variable?</p>