OpenCV Python black screen problem

we can help much better, if you show your actual code

(most likely, there’s a waitKey() missing in your noob code)