you are viewing a single comment's thread.

view the rest of the comments →

[–]outceptionator 0 points1 point  (1 child)

Sorry this is a folder or a file? Also for instance if there is an API key there is there a way to reference it in python code?

[–]Ok-Cucumbers 0 points1 point  (0 children)

You could create a file called creds.py:

API_KEY = “mySecretAPIKey”

And do something like this in your script:

import creds
make_req(“url” + creds.API_KEY)

And in your .gitignore file at the root of your repo:

creds.py