Please fix your code indentation, as it is now it's painful to figure out what's supposed to be happening. The comments provide the corect suggestions to make it easy for you as well.
The characters for living and dead cells should be module-level constants. Makes them easily changeable and the code more readable:
LIVING_CELL = '#'