This file contains hidden or 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
#!/usr/bin/python | |
try: | |
from htmlbuilder import html | |
except ImportError: | |
import sys | |
print '\n'.join(sys.path) | |
sys.exit() | |
from flask import Flask | |
add_styles = ( |
This file contains hidden or 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
from requests import Session # get the class to subclass | |
# setup your variables in the class | |
class BasecampSession(Session): | |
_username = '' | |
_password = '' | |
_basecamp_account_number = '' | |
_basecamp_api_url = 'https://basecamp.com/{}/api/v1/' | |
def __init__(username,password,bc_account_number,*args,**kwargs): |
NewerOlder