Simple Map algebra (raster calculator) expression in python

Discussion created by fraxinus on Oct 7, 2010
Latest reply on Oct 27, 2010 by fraxinus
Hi, I am playing with the command-line window in ArcMap, and I need to assign a number to all cells in a grid. In the raster calculator one does:
layer = 1

But how does one do that in python? Python just picks it up as a integer!