In NetLogo: look to a few interesting examples. In Python: Folders 5. The Reference Handbook. The hierarchy of the schedules. SLAPP, run the examples. Folders 6.