On 21/10/09 23:12, Luke Paireepinart wrote:
> On Wed, Oct 21, 2009 at 4:56 PM, Jason Willis
> wrote:
>
>> so i changed the .bashrc and added at the end :
>> PATH="/home/compy/pythons:$PATH" ###which is the actual path to my
>> python proggies###
That should work, but you'll have to tell the she
If you're using bash for your shell - it looks like you need to
re-source your .bashrc. You can do this from the command line
source ~/.bashrc
or log out and log back in.
~elh
On Wed, Oct 21, 2009 at 5:56 PM, Jason Willis wrote:
> so i changed the .bashrc and added at the end :
> PATH="/home/
"Luke Paireepinart" wrote
So what you really want to do is
export PATH=$PATH:/home/compy/pythons
from the command line.
Unless I don't understand what .bashrc is for which is definitely
possible,
I'm a Windoze programmer.
bashrc is the equivalent of the old DOS autoexec.bat.
It gets run e
On Wed, Oct 21, 2009 at 3:56 PM, Jason Willis wrote:
> so i changed the .bashrc and added at the end :
> PATH="/home/compy/pythons:$PATH" ###which is the actual path to my python
> proggies###
>
> and i still get
> co...@compy-laptop:~/pythons$ herosinventory.py
> herosinventory.py: command not f
On Wed, Oct 21, 2009 at 5:56 PM, Jason Willis wrote:
> so i changed the .bashrc and added at the end :
> PATH="/home/compy/pythons:$PATH" ###which is the actual path to my python
> proggies###
>
> and i still get
> co...@compy-laptop:~/pythons$ herosinventory.py
> herosinventory.py: command not f
On Wed, Oct 21, 2009 at 5:12 PM, Luke Paireepinart
wrote:
>
>
> On Wed, Oct 21, 2009 at 4:56 PM, Jason Willis wrote:
>
>> so i changed the .bashrc and added at the end :
>> PATH="/home/compy/pythons:$PATH" ###which is the actual path to my python
>> proggies###
>
> No, you have to set the environ
On Wed, Oct 21, 2009 at 4:56 PM, Jason Willis wrote:
> so i changed the .bashrc and added at the end :
> PATH="/home/compy/pythons:$PATH" ###which is the actual path to my python
> proggies###
No, you have to set the environment variable from within the path, not
modifying .bashrc. $PATH refers
so i changed the .bashrc and added at the end :
PATH="/home/compy/pythons:$PATH" ###which is the actual path to my python
proggies###
and i still get
co...@compy-laptop:~/pythons$ herosinventory.py
herosinventory.py: command not found
co...@compy-laptop:~/pythons$ herosinventory.py
herosinventory
Jason Willis wrote:
hi everyone,
sorry for the rather boring question but i'm having serious issues
getting my programs to run from the command line without having to type
"python" in-front of them. I've tried a lot of different variations on
the #!/usr/bin/ etc. line and have come up with th
On Wed, Oct 21, 2009 at 12:33 PM, vince spicer wrote:
>
>
> On Wed, Oct 21, 2009 at 12:31 PM, vince spicer wrote:
>
>>
>>
>> On Wed, Oct 21, 2009 at 12:21 PM, Jason Willis
>> wrote:
>>
>>> hi everyone,
>>>
>>> sorry for the rather boring question but i'm having serious issues
>>> getting my prog
On Wed, Oct 21, 2009 at 02:21:23PM -0400, Jason Willis wrote:
> hi everyone,
>
> sorry for the rather boring question but i'm having serious issues getting
> my programs to run from the command line without having to type "python"
> in-front of them. I've tried a lot of different variations on the
The directory you are sitting in doesn't appear to be in your path...
[ehow...@preacher ~/bin]$ ls macosver
macosver*
[ehow...@preacher ~/bin]$ macosver
10.5.8
[ehow...@preacher ~/bin]$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:~/bin:/opt/local/bin:/opt/local/sbin
~elh
On Wed, Oct
On Wed, Oct 21, 2009 at 12:31 PM, vince spicer wrote:
>
>
> On Wed, Oct 21, 2009 at 12:21 PM, Jason Willis
> wrote:
>
>> hi everyone,
>>
>> sorry for the rather boring question but i'm having serious issues getting
>> my programs to run from the command line without having to type "python"
>> in
Are you by chance editing the file in Windows? Have you verified that python
is in /usr/bin? In some cases it could be in a different location.
On Wed, Oct 21, 2009 at 1:21 PM, Jason Willis wrote:
> hi everyone,
>
> sorry for the rather boring question but i'm having serious issues getting
> my p
On Wed, Oct 21, 2009 at 12:21 PM, Jason Willis wrote:
> hi everyone,
>
> sorry for the rather boring question but i'm having serious issues getting
> my programs to run from the command line without having to type "python"
> in-front of them. I've tried a lot of different variations on the
> #!/us
hi everyone,
sorry for the rather boring question but i'm having serious issues getting
my programs to run from the command line without having to type "python"
in-front of them. I've tried a lot of different variations on the
#!/usr/bin/ etc. line and have come up with the following every time:
16 matches
Mail list logo