How to fix default values from a dictionary Pythonically?
<p>I am parsing JSON requests using the JSON library which parses into python dictionary. As the requests are user-generated, I need to fix default values for parameters that have not been supplied. Other languages have stuff like ternary operators which make sense for repetitive applications. But the code below needs 4 lines per parameter.</p>

<pre><code>if "search_term" in request.keys():
    search_term=request['search_term']
else:
    search_term=""
if "start" in request.keys():
    start=request['start']
else:
    start=0
if "rows" in request.keys():
    rows=request['rows']
else:
    rows=1000000
</code></pre>

<p>Is there a Pythonic way to reduce the lines of code or make it more readable?</p>

<hr>

<p><strong>Edit</strong>: Both the (top) answers are equally useful. I used both in different circumstances</p>
