Changing python code block to text block