Running Python Script with lynx command in Terminal
<p>I just installed emacs and python on my Mac and I'm trying to learn how to run my Python Scripts through my terminal and I'm getting an error message 
"sh: lynx: command not found". From what I have researched it sounds like i need to install lynx on my mac but I do not know how to get it installed so if that is the issue how do I install lynx on a macbook? I will include screenshots of the issues I'm having. Thanks very much!
<a href="http://i.stack.imgur.com/TDamC.png" rel="nofollow">python script</a><a href="http://i.stack.imgur.com/789AB.png" rel="nofollow">Terminal</a></p>

<p>You should already have Python on your mac. My Macbook Air came with python 2.x on El Capitan OSX. When you open up the Terminal and type in "python" without any quotations does the python interpreter come up? From the look of your image, there is something wrong inside the file you are trying to run with python. </p>

<p>As far as I know, Lynx is a Web Browser, are you trying to do something with Lynx inside that python file? If you happen to have brew on your mac you can try brew install lynx   to install lynx onto the mac.</p>

<p>From the script, I think you are trying to get the source code from the link you are trying to open with lynx. Try this method instead if that is what you are doing.</p>

<p>Code:</p>

<pre><code>from urllib.request import urlopen

html = urlopen("http://www.careercast.com/jobs-rated/2016-ranking-200-jobs")
with open("lang.txt",'w') as output:
    output.write(html.read())
</code></pre>

<p>You can use <a href="https://pip.pypa.io/en/stable/installing/" rel="nofollow">pip</a> to install urllib.request. If you do not have pip, it is very helpful when installing python packages, or you can use easy_install. Run this in the terminal if you already have pip installed. Otherwise follow <a href="https://pip.pypa.io/en/stable/installing/" rel="nofollow">this to install it</a>.</p>

<pre><code>pip install urllib.request
</code></pre>

python emacs terminal lynx