python Programming Glossary: notably
Creating a secondary site-packages directory (and loading packages from .pth files therein) http://stackoverflow.com/questions/10693706/creating-a-secondary-site-packages-directory-and-loading-packages-from-pth-fil OS X virtualenv and homebrew. There are a few packages notably wxPython in my case that do not install nicely through pip into..
subprocess with timeout http://stackoverflow.com/questions/1191374/subprocess-with-timeout
Interpolating a scalar field in a 3D space http://stackoverflow.com/questions/1972172/interpolating-a-scalar-field-in-a-3d-space There are some libraries out there to make this easy. Most notably VTK includes python wrappers and has all of the tools required..
list comprehension filtering - “the set() trap” http://stackoverflow.com/questions/20056458/list-comprehension-filtering-the-set-trap timeit h 10 loops best of 3 72.5 ms per loop Python 2 notably doesn't do this optimization. I've tried investigating further..
QObject (QPlainTextEdit) & Multithreading issues http://stackoverflow.com/questions/2104779/qobject-qplaintextedit-multithreading-issues web page Although QObject is reentrant the GUI classes notably QWidget and all its subclasses are not reentrant. They can only..
Multiple levels of 'collection.defaultdict' in Python http://stackoverflow.com/questions/2600790/multiple-levels-of-collection-defaultdict-in-python the possibilities offered by collections.defaultdict notably in readability and speed. I have put them to use with success...
non-technical benefits of having string-type immutable http://stackoverflow.com/questions/3584945/non-technical-benefits-of-having-string-type-immutable complication of multiple ways of parameter passing most notably perhaps in C what with by value by reference by constant reference..
Dynamically adding a form to a Django formset with Ajax http://stackoverflow.com/questions/501719/dynamically-adding-a-form-to-a-django-formset-with-ajax is so that we can update the management_form field notably TOTAL_FORMS as well as the actual form fields. If you have a..
BOO Vs IronPython http://stackoverflow.com/questions/600539/boo-vs-ironpython where he doesn't agree with the design decisions most notably lack of explicit self The language is explicitly designed to..
How can I remove text within parentheses with a regex? http://stackoverflow.com/questions/640001/how-can-i-remove-text-within-parentheses-with-a-regex then to remove extraneous information in the filenames notably I'm trying to remove text inside parentheses. For example filename..
Python: special characters giving me problems (from PDFminer) http://stackoverflow.com/questions/6870214/python-special-characters-giving-me-problems-from-pdfminer not in range 128 I searched around a bit and tried them notably Replace special characters in python . The input comes from..
Speed comparison with Project Euler: C vs Python vs Erlang vs Haskell http://stackoverflow.com/questions/6964392/speed-comparison-with-project-euler-c-vs-python-vs-erlang-vs-haskell above. The answer was 0 Use optimization via O2 1 Use fast notably unbox able types when possible 2 rem not mod a frequently forgotten..
Perl Compatible Regular Expression (PCRE) in Python http://stackoverflow.com/questions/7063420/perl-compatible-regular-expression-pcre-in-python including simple char based casefolding and unlike re it notably provides for both the Unicode General Category and the Unicode..
|