Can't call python script with "python" command
Question: I normally program in Java, but started learning Python for a course I'm
taking.

I couldn't really start the first exercise because the command

    
    
    python count_freqs.py gene.train > gene.counts 
    

didn't work, I keep getting "`incorrect syntax`" messages. I tried solving
this looking at dozens of forums but nothing works, and I'm going crazy.

    
    
    import count_freqs 
    

ran without errors, but I can't do anything with it. When I try running
something involving the file `gene.train` I get "`gene is not defined`".

Can anyone tell me what I'm doing wrong? Thanks.


Answer: type `which python` at the command prompt to see if the python executable is
in your path. If not it either isn't installed or you need to amend your path
to include it.

