Thursday, April 24, 2008
Tuesday, April 15, 2008
Sunday, April 13, 2008
Friday, April 11, 2008
Saturday, April 5, 2008
Thursday, April 3, 2008
Where are the Python modules in this computer?
Start you python command prompt, and type:
>>import sys
>>sys.path
( it will print out a list of directories)
Another way is write a python script that prints the list out a little prettier:
#!/usr/bin/env python import sys for x in sys.path: print x # add to the list of paths with this: a="/Users/lance/bin/" sys.path.append(a)
Wednesday, April 2, 2008
Python URLLIB
This is the most useful resource I've found on URLLIB: http://blog.doughellmann.com/2008/03/pymotw-urllib.html
Subscribe to:
Posts (Atom)