http://docs.python.org/library/os.html
os.getcwd()¶
Return a string representing the current working directory. Availability: Unix, Windows.

http://stefaanlippens.net/getcwd
import os
print os.getcwd()

import sys, os
print sys.path[0]

will print the directory where this script resides.
additionally you can use

sys.argv[0]

to get the filename of the script. to join the two do

os.path.join(sys.path[0], sys.argv[0])


when a disk cannot be ejected due to a process having an open file,
can use:
lsof | grep [disk path part]

to find the process

http://localhost:5000/journal/log/python/topics/search-index-text.txt
: search-index-text.txt
http://whoosh.ca/
Whoosh
http://whoosh.ca/blog/less_is_more
Blog: Less is more – Whoosh
http://whoosh.ca/blog/fools_errand
Blog: Python performance is a fool's errand – Whoosh
http://whoosh.ca/blog/of_course
Blog: Of course! – Whoosh
http://pypi.python.org/pypi/Whoosh
Python Package Index : Whoosh 0.1.24
http://whoosh.ca/wiki/GettingStarted
GettingStarted – Whoosh
http://whoosh.ca/wiki/UserGuide
UserGuide – Whoosh
http://whoosh.ca/wiki/ApiDocs
ApiDocs – Whoosh
http://groups.google.com/group/whoosh
Whoosh | Google Groups


http://www.greenteapress.com/thinkpython/thinkpython.html

http://openbookproject.net//thinkCSpy/
How to Think Like a Computer Scientist — How to Think Like a Computer Scientist: Learning with Python v2nd Edition documentation
http://diveintopython.org/
Dive Into Python
http://diveintopython.org/toc/index.html
Dive Into Python


remember that colors are (usually) specified as floating point numbers with values between 0 and 1.0

http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=pyglet+colors&btnG=Google+Search
pyglet colors - Google Search
http://tartley.com/files/stretching_pyglets_wings/presentation/
Stretching pyglet's Wings
http://groups.google.com/group/pyglet-users/browse_thread/thread/920eed93e5fc1ea5
Drawing a grid (with lines) - pyglet-users | Google Groups

started [2009.07.06 09:55:50]
http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=sage+notebook&btnG=Google+Search
sage notebook - Google Search
http://www.sagemath.org/tour.html
Sage - Tour
http://www.sagemath.org/links-components.html
Sage - Components
http://en.wikipedia.org/wiki/Sage_(mathematics_software)
Sage (mathematics software) - Wikipedia, the free encyclopedia
http://en.wikipedia.org/wiki/SymPy
SymPy - Wikipedia, the free encyclopedia

have seen other solutions
see notes in SRL repo links