Reading SimPy Shared Resources where with statement is used to acquire resources shared among multiple running SimPy processes.
with