Skip to content

How to run this command on windows system ENV=development python app.py #21

Description

@basavarajb

I' unable to execute the ENV=development python app.py on windows 10 .
I tried executing the following command

set ENV=development & python app.py

Output:
DEFAULT 1
{'b1': [1, 2, 3], 'b2': ['foo', 'bar'], 'b3': {'c1': 1, 'c2': 'DEFAULT 2'}}
DEFAULT 2
config.some_key_only_for_dev 'some_key_only_for_dev'
config.some_key_only_for_foo 'some_key_only_for_foo'
config.some_key_only_for_foo 'some_key_only_for_prod'
$$$
Excepted result
DEFAULT 1
{'b1': [1, 2, 3], 'b2': ['DEV 1'], 'b3': {'c1': 1, 'c2': 'DEV 2'}}
DEV 2
config.some_key_only_for_dev True
config.some_key_only_for_foo 'some_key_only_for_foo'
config.some_key_only_for_foo 'some_key_only_for_prod'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions