# I've changed position of vertices with python but nothing happened

I'm really newbie at blender. So I want to change an object from a python script.

If I create a new project (Ctrl+N) and open python console, I can changing position of vertices:

bpy.data.meshes['Cube'].vertices[0].co.z += 20


but I don't see anything new at 3D view window.

What I'm doing wrong.

Please try your statements with the 3D View Window in object mode not edit mode.

• An explanation of why this needs to be done might be helpful. Dec 23 '15 at 14:37
• You might add that in the comments Dec 23 '15 at 14:44
• Well, you obviously know why otherwise why would you suggest them to do that? I'm just suggesting to flesh the answer out a bit. Dec 23 '15 at 16:00
• I do [not] know why everything happens in Blender at the software text level because I read approximately 00.00 % of the software text by choice. I may have a good educated theory. I answered to get him one step further. It is always a question of whether to write for the poser or some unknown readers. I estimate there will be few readers. Thus the short answer. Perhaps I want to hear your explanation. Dec 23 '15 at 16:52