This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Source: https://gist.github.com/thewarpaint/889690aeb21a8dfd7aba | |
""" | |
from __future__ import division | |
def number_suffixes(number): | |
suffixes = ['k', 'M', 'G', 'T', 'P', 'E'] | |
if not isinstance(number, int): | |
return number | |
if number < 1000: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DocuSign API Walkthrough 07 (PYTHON) - Embedded Sending | |
import sys, httplib2, json; | |
#enter your info: | |
username = "***"; | |
password = "***"; | |
integratorKey = "***"; | |
templateId = "***"; | |
authenticateStr = "<DocuSignCredentials>" \ |