select = arcpy.Select_analysis HELP!!

Discussion created by Shiko on Jun 26, 2013
Latest reply on Jun 26, 2013 by rzufelt
select = arcpy.Select_analysis

After this script is correctly carried out, is there supposed to be a new layer created on ArcMap? or does it just show you the results?
I'm having issues with an erase script not being able to read the data that has been defined in the Selection.
Below is the error message I'm getting:

>>> erase = arcpy.Erase_analysis(select, buffer, "in_memory/erase")
Runtime error  Traceback (most recent call last):   File "<string>", line 1, in <module>   File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\", line 205, in Erase     raise e ExecuteError: ERROR 000732: Input Features: Dataset in_memory\select does not exist or is not supported