python Programming Glossary: pymotw
Get __name__ of calling function's module in Python http://stackoverflow.com/questions/1095543/get-name-of-calling-functions-module-in-python Hellmann has a nice writeup of the inspect module in his PyMOTW series http blog.doughellmann.com 2007 11 pymotw inspect.html..
Implementing a “[command] [action] [parameter]” style command-line interfaces? http://stackoverflow.com/questions/362426/implementing-a-command-action-parameter-style-command-line-interfaces
Abstract methods in Python http://stackoverflow.com/questions/4382945/abstract-methods-in-python Also read this good tutorial http www.doughellmann.com PyMOTW abc You can also check out zope.interface which was used prior..
Read words from .txt, and count for each words http://stackoverflow.com/questions/5452550/read-words-from-txt-and-count-for-each-words useful in this type of application. From Doug Hellmann's PyMOTW import collections c collections.Counter with open ' usr share.. 3 print ' s 7d' letter count http www.doughellmann.com PyMOTW collections counter.html although this does letter counts instead..
How to code autocompletion in python? http://stackoverflow.com/questions/7821661/how-to-code-autocompletion-in-python module. Here's a quick example based on Doug Hellmann's PyMOTW writeup on readline . import readline class MyCompleter object..
CSV Rows to XML files using Python http://stackoverflow.com/questions/8672872/csv-rows-to-xml-files-using-python
|