Optimizing Inventory Management with Reinforcement Learning: A Hands-on Python Guide