I can use vi{ and va{ to select C++ code blocks. It helps me a lot when I need to yank/delete them.
vi{
va{
But Python uses indentation to indicate code blocks. I cannot find any better way. Any ideas?