Coming from other languages, it is still Python magic to me, how I don't have to instanciate the Block class first, but 'import' all its features automatically.
While I don't fully understand it, this works.
get_current_block
function instantiate it for you. :)
You might have noticed by now: If you were looking for a good Python guide - this isn't it.
😁
Like a blind man talking about color, aye ? :)