Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 654 Bytes

environment_variables.rst

File metadata and controls

20 lines (13 loc) · 654 Bytes

Async PRAW Environment Variables

The second-highest priority configuration options can be passed to a program via environment variables prefixed with praw_.

For example, you can invoke your script as follows:

praw_username=bboe praw_password=not_my_password python my_script.py

The username and password provided via environment variables will override any values contained in a praw.ini file., but not any variables passed in through .Reddit.

All configuration_options can be provided in this manner, except for custom options.