get DATA_DIR into Python recipe

Solved!
UserBird
Dataiker
get DATA_DIR into Python recipe
hi, I know we can expand DATA_DIR in Dataiku to get the data directory, which is usually data_dir.

However, I would need to get this is in a Python recipe? Is there a way to know the data directory?
0 Kudos
1 Solution
Clรฉment_Stenac
Hi,

Use os.environ["DIP_HOME"]

View solution in original post

2 Replies
Clรฉment_Stenac
Hi,

Use os.environ["DIP_HOME"]
UserBird
Dataiker
Author
thanks!
0 Kudos