Last active
July 26, 2023 04:15
-
-
Save trouni/64db7f8b7ac8229b5bd2a237ea7bd400 to your computer and use it in GitHub Desktop.
Add Olist to PYTHONPATH - AirLiquide DataStudio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /home/ec2-user/SageMaker/code/ | |
# Get the first entry in the current directory | |
gh_username=$(ls -A1 | grep -m1 "^[^.]" | head -n1) | |
echo "export PYTHONPATH=\"~/SageMaker/code/$gh_username/data-analyst-challenges/04-Decision-Science:\$PYTHONPATH\"" >> ~/.bashrc | |
exec bash | |
echo "Successfully added the Decision Science folder to the PYTHONPATH. Good luck with your challenges! 💪" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment