*2009.07.27 11:23:56 python getcwd current directory working
os.getcwd()¶
Return a string representing the current working directory. Availability: Unix, Windows.
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])

 

*2009.07.17 21:49:18 python search index text whoosh
: search-index-text.txt
Whoosh
Blog: Less is more – Whoosh
Blog: Python performance is a fool's errand – Whoosh
Blog: Of course! – Whoosh
Python Package Index : Whoosh 0.1.24
GettingStarted – Whoosh
UserGuide – Whoosh
ApiDocs – Whoosh
Whoosh | Google Groups

 

*2009.07.17 21:47:21 python args kwargs
*2009.07.17 06:57:09 python learning
How to Think Like a Computer Scientist — How to Think Like a Computer Scientist: Learning with Python v2nd Edition documentation
Dive Into Python
Dive Into Python

 

*2009.07.10 11:46:05 python new_module

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:

 

*2009.07.08 11:16:11 python pyglet colors

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

 

*2009.07.06 09:55:53 python math science

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