Index of /pystockmood

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]_tempnotes.txt2013-09-12 16:58 1.8K 
[DIR]audiofiles/2017-09-29 18:26 -  
[TXT]examplerun.txt2013-09-13 22:28 5.0K 
[   ]pystockmood-full-package.zip2017-06-11 16:20 286K 
[IMG]pystockmood.png2016-07-26 16:45 213K 
[   ]pystockmood.py2013-09-13 13:45 5.5K 
[DIR]testfiles/2017-09-29 18:26 -  

This is pystockmood - a somewhat-experimental and not-at-all-serious
program that tries to guess the mood of the stock market from day to 
day by looking for a set of patterns in the text scraped from prominent
financial news reporting websites.  It demos and combines Python's
re and urllib libraries, as well as some fairly nasty comprehensions.

To use, run the main script,, whose code and comments are 
the full documentation for the program.  

Just for fun, this plays a song at the end; pystockmood.png captures the 
action.  You'll need to place 3 audio files (e.g., MP3s) of your choosing
in the audiofiles directory (stripped of its content here) and code their 
names in the script.  

The testfiles folder has example input pages, and file examplerun.txt is 
a, well, example run (most of it is pattern traces).

Get for all these parts in a single zipfile.