title: Python - How to make range queries in Azure Table Storage
body: <p>I am stuck trying to find the right syntax for creating a range query from python to an Azure Table Storage table. </p>
  
  <p>The continuation token cannot help me since I want to define a specific range or RowKeys and retrieve only those.</p>
  
  <p>I have been trying the following</p>
  
  <pre><code>rows = table_service.query_entities(
      tableName,
      "PartitionKey eq '6' and RowKey gt '1452702466022' and RowKey lt '1452702466422")
  </code></pre>
  
  <p>and</p>
  
  <pre><code>rows = table_service.query_entities(
      'rawpowervalues6', "PartitionKey eq '6'",
      select="RowKey gt '1452702466022' and RowKey lt '1452702466422")
  </code></pre>
  
  <p>With no luck. I cannot find any official documentation regarding python range queries. The best resource so far for that matter is <a href="https://stackoverflow.com/questions/21160524/date-range-queries-in-azure-table-storage">that</a> but I cannot make it work in python. </p>