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])
if module should be installed on new systems, be sure to add it to: /c/system/startup.sh (/c/system/startup-python.sh is for non-locally developed modules)
then run install commands on your system so it is available for development:
remember that colors are (usually) specified as floating point numbers with values between 0 and 1.0
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