Learn the difference between semaphores and mutexes in Python, their use, implementations, advantages and disadvantages.