$ python searchstocks.py 

NASDAQ Stock Data for 2013-11-04

ticker(1),company(2),close(3),quit(4): 1
                           search for: swatcs
==================================================
ticker search for SWATCS
...not found
==================================================
ticker(1),company(2),close(3),quit(4): 2
                           search for: swarthmore
==================================================
company search for swarthmore
...none found
==================================================
ticker(1),company(2),close(3),quit(4): 3
                           search for: 1000
==================================================
search for close > $1000.00
  GOOG: $1026.11  
 HBANP: $1265.50  
  PCLN: $1070.57  
==================================================
ticker(1),company(2),close(3),quit(4): 5
ticker(1),company(2),close(3),quit(4): hello
ticker(1),company(2),close(3),quit(4): -20
ticker(1),company(2),close(3),quit(4): 2
                           search for: virginia
==================================================
company search for virginia
  EVBS: Eastern Virginia Bankshares  Inc.
  SONA: Southern National Bancorp of Virginia  Inc.
  VCBI: Virginia Commerce Bancorp
==================================================
ticker(1),company(2),close(3),quit(4): 1
                           search for: SONA
==================================================
ticker search for SONA

  Ticker: SONA
    Name: Southern National Bancorp of Virginia  Inc.
    Open: $9.70
   Close: $9.72
  Volume: 3500
  
==================================================
ticker(1),company(2),close(3),quit(4): 4

Bye!