Skip to content

{ Author Archives }

copying to clipboard Zotero citations as HTML w/ chickenfoot

Here's a first pass at a Chickenfoot script that copies selected Zotero items as HTML to the clipboard.  (I couldn't find anything in the Zotero interface to do exactly this function.  There is a  Create Bibliography from Selected Item(s)->Copy to Clipboard but that seems to copy citations as RTF for me.) var Zotero = chromeWindow.Zotero; […]

Tagged ,

try out the zooomr api?

Because the ZooomrAPI was designed to emulate the Flickr API, it shouldn't be that hard to learn once you know the Flickr API.

Tagged , ,

Getting started with flickrapi

Based on reading the  Python FlickrAPI, I wrote a simple example using the flickrapi library: import flickrapi API_KEY = '[API_KEY]' API_SECRET = '[API_SECRET]' if __name__ == '__main__': # instantiate the flickr object with the API_KEY, SECRET to return ElementTree entities flickr = flickrapi.FlickrAPI(api_key=API_KEY,secret=API_SECRET,format='etree') photos = flickr.photos_search(user_id='73509078@N00', per_page='10') if photos.attrib['stat']: for photo in photos.find('photos').getiterator('photo'): id = […]

Tagged , , ,

WordPress wish: converting a post to a page

I wish there were a simple way to convert a WordPress post to page — that is without copying and pasting the content — but there doesn't seem to be a way in WP right now (at least according to the convert post to page? thread).

Tagged ,

Getting started with Jython

Time to install The Jython Project. I installed both the current version (2.2.1) and the beta version (2.50b). Time to run through the Jython book and the Jython User Guide.

Tagged ,

Django hosting options?

Although it seems that you can host Django on dreamhost (Django – DreamHost and JeffCroft.com: Setting up Django on Dreamhost), I might be looking for another host for Django, such as (mt) Media Temple, which is what is used by Django creator Adrian Holovaty for his EveryBlock project.

Tagged , ,

SWIG

Although I plan to be programming primarily  in Python (and JavaScript)  this next year, I don't want to forget about C/C++.  I hope to have an opportunity to use SWIG at some point to connect high-speed code in C/C++ with Python code: SWIG is an interface compiler that connects programs written in C and C++ […]

Tagged ,

Time to study Python 3.0?

I had been vaguely following Python 3 when Python 3.0 final was released on December 3, 2008. I decide to start coming to terms with what this new and intentionally non-backwards compatible version of Python means by printing out What’s New In Python 3.0 — Python v3.0 documentation and Linux.com :: Python 3.0 makes a […]

Tagged

IronPython 2.0

In  the new year,  I would like to deepen my expertise in all-things-Pythonic.  One version I just installed today was Iron Python: IronPython is a new implementation of the Python programming language running on .NET. It supports an interactive console with fully dynamic compilation. It is well integrated with the rest of the .NET Framework […]

Tagged ,

Which version of pywin32 works with Ecco Pro DDE?

Two programs of which I am aware uses pywin32 (the Python for Windows extension) to access Ecco Pro's DDE interface:  EccoTools and classeccodde.py.  I have found that the current version of pywin32 (v 212) doesn't work, and that the newest version that does work is version 207. (BTW, you can look at all the versions […]

Tagged , ,