Move the variables to a separate module and replace your values with dummy values. Make sure you hook on an invalid key and provide instructions on how to get the key and where to put it. In your code, you can simply import values from this module.
import gdata_api_key
print gdata_api_key.key_value
source
share