I wonder if there's a simple arcpy command to split polygons by overlapping polylines like this:
Usually Esri uses code snippets on their sites, so I guess it's a bit more complex.
If a polygon (in my case a biotope) is intersected by the line featue (in my case a road) it has to be divided into two polygons, so that I have two features in the end.
I agree with Dan, it would be helpful to provide a bit more information about what you are trying to accomplish. Regarding the lack of code snippets, they don't exist on the page you reference because the page is describing how a GUI toolbar works, and you can't script against those. If you want to script a workflow out, you need to use geoprocessing tools, like Dan suggested, or native ArcPy tools.
Thanks for the answer Joshua! Like I answered Dan, I have polygons (feature class) which I want to split into new polygons if my line feature (another feature class) crosses the respective polygon. In my example (biotopes and road, see my answer to Dan) a biotope is actually two biotopes if there is a road going through. I already found this solution https://community.esri.com/thread/181151 but I wondered, if there was a simpler way to accomplish this with an easy arcpy function.