title: How to create matrix of points by X, Y coordinate in Python?
body: <p>I have: 
  X min, Y min and X max, Y max.
  Need to create mesh of point with distance 2000.0 m between point in this boundaries.</p>
  
  <p>My code:</p>
  
  <pre><code>while minY &lt; maxY:
      minY += 2000.0
          while minX &lt; maxX:
              minX += 2000.0
              X.append(minX)
              Y.append(minY)
       X.append(minX)
       Y.append(minY)
  </code></pre>
  
  <p>gave me: 1 row by X (from min to max) and 1 colon of point by Y () from
  Xmax - last X.</p>
  
  <p>Please, help me to create rows of points/ mesh grid.</p>