Christina-B sharevalue 20130712-160207


Posted:

Problem: To generate a python program to print the share value of a company

Description

  1. Take the commandline argument which specifies the symbol of company
  2. Pass the argument to function show_share_value().
  3. Open url using urllib2.urlopen
  4. Print the value using which is returned as response.

Click the link below to see the program

link

Steps to execute the program

$ chmod +x sharevalue.py

$ ./sharevalue.py GOOG

Contents © 2013 dgplug - Powered by Nikola
Share
UA-42392315-1