Hi all, Sadly nobody gets to program in a bubble. Everyone has deadlines, legacy code, legacy computers, legacy programmers, etc. We also don’t have unlimited time to “re-invent the wheel” at each opportunity. Assumming you’re doing an open source project (much like this one), you can incorporate other people’s tools into your own code. If [...]
Archive for the ‘Development’ Category
Dependencies you can Depend on
Posted in Development, tagged beautifulsoup, jinja, wxPython on February 17, 2009 | Leave a Comment »
Relation-less Annotation Database
Posted in AnnotBase, tagged AnnotBase, shelve on January 21, 2009 | Leave a Comment »
I discuss the method, reasoning and implementation of the annotation database, AnnotBase. I use multiple pickle files to save each individual record. This may pose a problem later on when trying to do reverse lookups but I’ll cross that bridge if the need arises.
Enforcing Web Politeness through Python Semaphores
Posted in Development, GEO Interface, tagged NCBI, threading on January 16, 2009 | Leave a Comment »
Hi all, The “batteries-included” nature of python has been a boon for those of us in the programming world. I still remember the first time I looked through the default package list in the python documentation and saw that it had built-in support for programmatically accessing complex web-tools. Cookie handling, log-ins and multi-part posts all [...]
Adventures in wxPython AutoCompleting
Posted in Development, GUI, tagged AnnotGui, gotcha, wxPython on January 16, 2009 | 2 Comments »
In revisions R65 to R67 I added an auto-completing textbox/listsctrl to the AnnotGui which will expand the treectrl to the relevant term. I discussed the wonders of python subclassing to extend features. I also discussed two gotchas about sorting strings and using wxlistctrl.GetItemData.