get DATA_DIR into Python recipe
![UserBird](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar12.png)
UserBird
Dataiker, Alpha Tester Posts: 535 Dataiker
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?
However, I would need to get this is in a Python recipe? Is there a way to know the data directory?
Best Answer
-
Hi,
Use os.environ["DIP_HOME"]
Answers
-
thanks!