title: Unable to use flags in OpenCV Python?
body: <p>I'm unable to use flags in OpenCV.</p>
  
  <p>For example:</p>
  
  <pre class="lang-py prettyprint-override"><code>import cv2
  
  image = cv2.imread('k.jpg',cv2.CV_LOAD_IMAGE_GRAYSCALE)
  
  cv2.namedWindow('Pic',cv2.CV_WINDOW_NORMAL)
  
  cv2.imshow('Pic', image)
  
  cv2.waitKey()
  </code></pre>
  
  <p>In this program I'm able to use <code>cv2.CV_LOAD_IMAGE_GRAYSCALE</code> but I'm not able to use flags for <code>namedWindow</code> here. This one gives error:</p>
  
  <pre><code>module has no attribute CV_WINDOW_NORMAL
  </code></pre>