There's already read text aloud programs but they don't really understand python indentation and won't read it in a way with pauses that reflect things like indentation and creating variables. The read aloud program might blitz through a few lines then go slowly through some when in real life you would read code aloud differently.
For example, - is not read as minus. * is not read as "times" / is read as slash as opposed to divided by