Queue All Method In Python Example