Check out the first Dataiku 8 Deep Dive focusing on Productivity on October 29th Read More

get DATA_DIR into Python recipe

Dataiker
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
2 Replies
Dataiker
Dataiker
Hi,

Use os.environ["DIP_HOME"]
Dataiker
Dataiker
Author
thanks!
0 Kudos
Labels (2)