The Dropbox Datastore now has a Python SDK with examples. The announcement was written by Guido van Rossum himself.
Very cool. Think about the possibilities of syncing data between instances of scripts across devices. Let’s hope Pythonista and Editorial both add this SDK.
Note: I realize the title should say “SDK” instead of “API” but I don’t want to double post just to be pedantic.
Every OS X upgrade breaks my python installation. I think this is a common problem for dummies like me that are not using virtualenv for everyday use.
With Mavericks on its way (presumably next week), I decided to plan ahead.1 First, I generated a list of all of my installed Python packages. The most common way to do this is with the freeze command. It’s pretty simple.
To get a simple listing of all modules, just run this:
What a fantastic Python intro. As Chewing Pencils says, this is great for people getting into Editorial.
AppStorm has a very good series about programming Python in Pythonista. If you are just getting into Editorial then you really want to catch up on this series as well as their introduction, Pythonista 101.
TextBlob is a Python module for more simple Natural Language Processing. The sentiment analysis is just 4 lines.
I’ve worked with NLTK in the past, and it can be a real pain for the thick-headed stuff I do with it.
Envelopes is a handy little Python module to make email handling easier.
I’ve used the smtplib module many times and it can be a bit much. Envelopes looks a lot easier for simply generating email from within a script.
This bit from Dr. Drang is going to be so handy in Editorial.
Arnab Nandi has a wonderful description of a Python project that plays 24 using image recognition of real cards. But my favorite part is his honest and heartening disclaimer at the beginning:
My area of research is databases. This post is about computer vision, something that I am not an expert at. Please consider this an amateur for-fun-only post!
Speaking of Sean Korzdorfer, he linked to the Python wrapper for PhyloPic, neither of which I had ever heard of. I love this stuff. PhyloPic provides silhouette images of animal species with a search by name.
Here’s the result page for “kiwi”
I love me some Evil Clown code.