title: python equivalent of (process.env.PORT || 3000)
body: <p>I don't know if this is the best place to ask but wanted to know what the <code>python</code> equivalent to <code>const port = process.env.PORT || 3000;</code> is?</p>
  <p>The main purpose being I want to be able to set environment variables in python depending on the environment</p>