In food processor, with metal blade, grind almonds with sugar. Mix in margarine, eggs, almond extract until thoroughly combined. Blend in flour. Spoon mixture into pie shell. Peel apples. Slice. Arrange over almond filling. Bake pie at 375 for 50 - 60 minutes, until center is set and crust is golden brown.