get DATA_DIR into Python recipe

Solved!
UserBird
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
1 Solution
Clément_Stenac
Dataiker
Dataiker
Hi,

Use os.environ["DIP_HOME"]

View solution in original post

2 Replies
Clément_Stenac
Dataiker
Dataiker
Hi,

Use os.environ["DIP_HOME"]

View solution in original post

UserBird
Dataiker
Dataiker
Author
thanks!
0 Kudos
Labels (2)
A banner prompting to get Dataiku DSS
Public