How do I add python to the PATH...
Python command is in /usr/bin and I have /usr/bin in my $PATH. I want to be able to run
instead of having to do
What do I need to do?
Do you have the command directive on the first line of the python script?
Have you set the execute bit on the file?
chmod +x file.py
Yes I have
Yes I have the execute bit on
The program runs if I do
sudo python ./program.py
But I want to be able to do
|All times are GMT -5. The time now is 04:05 AM.|