FAQs
Frequently Asked Questions
Last updated
Was this helpful?
Was this helpful?
import os
os.environ["SCIPY_ARRAY_API"] = "1"NameError: name ‘MY_CONSTANT’ is not defined# @crunch/keep:on
MY_CONSTANT = true
# @crunch/keep:off
if MY_CONSTANT:
...# @crunch/keep:on
MY_CONSTANT = trueif MY_CONSTANT:
...class Constants:
MY_CONSTANT = true
if Constants.MY_CONSTANT:
...