Hi I am having a really weird issue with a simple python script.
I created it in one folder, A, and have later copied it to a new folder B.
However when I add folder B as a project folder in Atom and run the script, it behaves as if it is still located in folder A.
I can find no references to folder A, nothing in the script for sure and can't see anything in file properties that should give this result??
Running os.path.realpath() gives me the old folder A, and any output files I generate while running the script in folder B gets saved to folder A.
Am I missing a "magic" way of copying python scripts to new locations?
Hope someone can help :)
-Thomas
edit: just realised it might be important that I am using Atom with the Hydrogen plugin to run the script and I have added folder B as a projekt folder.
/etc/profile.d would add it to every user's path
~/.bashrc would just be your own
you can always do "$ source ~/.bashrc" to re-read the config files.
copy python script to new location wont update path