Skip to content

{ Category Archives } Python

Must Get Cracking on Organizing Your Life with Python

Talk and tutorial proposals for PyCon 2014 are due tomorrow (9/15) .  I was considering submitting a proposal until I took the heart the appropriate admonition against "conference-driven" development of the program committee.   I will nonetheless use the Oct 15 and Nov 1 deadlines for lightning talks and proposals respectively to judge whether to […]

A mundane task: updating a config file to retain old settings

I want to have a hand in creating an excellent personal information manager (PIM) that can be a worthy successor to Ecco Pro. So far, running EccoExt (a clever and expansive hack of Ecco Pro) has been a eminently practical solution.   You can download the most recent version of this actively developed extension from […]

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 , , ,

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

listing applications installed in Windows XP with Python

The end of 2008 is approaching, making it an appropriate time to take inventory of my life — which also includes a lot of  my computer-related stuff.   In addition to cleaning up my office, I'm also cleaning up my Lenovo Thinkpad T60p, my primary work computer, whose drive has been close to its 100 GB […]

Tagged , , ,