Gunicorn doesn't run on windows, so you'll need to have a separate system for running code locally. What framework are you running?
Usually you can develop locally using a built-in development server (like python manage.py runserver for Django), and just use gunicorn on Heroku itself