Archive

Posts Tagged ‘conversion’

pytumblr with Python 3 support

October 22, 2016 Leave a comment

Problem
I wanted to use the pytumblr library from Python 3 but this library is Python 2 only :( And the repo is quite abandoned. Someone asked Python 3 support more than a year ago and nothing happened.

Solution
As I had a large Python 3 project and I wanted to integrate Tumblr support in it, I decided to modify the library to support Python 3. The result is here: https://github.com/jabbalaci/pytumblr . I only needed to upload photos, so I worked on that part only. But with this version you can upload photos to Tumblr under Python 3.

Categories: python Tags: , , ,

Roman numbers to decimal

November 8, 2012 Leave a comment

Problem
You want to convert Roman numbers to decimal and decimal numbers to Roman numbers.

Solution
I found a module for this task called romanclass (http://pypi.python.org/pypi/romanclass).

I wrote a simple wrapper around it, available here.

Categories: python Tags: , ,