Joined May 2013
·

Matthew Rankin

Cumulusware
·
Independence, MO
·
·
·

@xiongchiamiov: I too preferred to use pypandoc instead of pyandoc. However, I modified your code so that if pypandoc had problems, the description would just be the README.md as markdown.

try:
   import pypandoc
   description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
   description = open('README.md').read()
Achievements
50 Karma
0 Total ProTip Views
Interests & Skills