This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
Command-line script to get stock price (in USD and local currency) | |
Prerequisite: | |
Python 2.7 | |
Installation: | |
Copy this script to /usr/bin or /bin. | |
Usage: | |
$ stock ZNGA | |
This will get you stock price for company with stock symbol 'ZNGA' |