def main(argv): browser = 'Chrome' if len(argv) >= 1: browser = argv[0] username, password = loadConfig("conf/config.csv") giftcards = loadGiftcards("conf/tgc.csv") loginTest(username[0], password[0], giftcards, outputlog=True, browser=browser)
def main(argv): username, password = loadConfig("twitter_config.csv") # username = username[40:] # password = password[40:] text = None if len(argv) >= 1: text = ' '.join(argv) else: with open('hashtags.txt') as f: text = f.readline() loginTest(username, password, outputlog = True, tweet = text)
def main(argv): username, password = loadConfig("../conf/twitter_config.csv") # username = username[40:] # password = password[40:] text = None if len(argv) >= 1: text = ' '.join(argv) else: with open('hashtags.txt') as f: text = f.readline() loginTest(username, password, outputlog = True, tweet = text)
import brain import helper import glob if __name__ == "__main__": helper.loadConfig() helper.connectSQL()
def main(): username, password = loadConfig("../conf/config.csv") getAddedOffers(username, password, outputlog = True)
def main(): username, password = loadConfig("../conf/config.csv") loginTest(username, password, outputlog = True, browser = "Chrome")
def main(): username, password = loadConfig("major.csv") getBalance(username, password, outputlog=True)
def main(argv): browser = argv[0] if len(argv) >= 1 else 'Chrome' loginTest(loadConfig("../conf/config.csv"), browser=browser)
def main(argv): browser = argv[0] if len(argv) >= 1 else 'Chrome' loginTest(loadConfig("../conf/config.csv"), browser=browser)
def main(): username, password = loadConfig("config.csv") loginTest(username, password, outputlog=True)
def main(argv): browser = argv[0] if len(argv) >= 1 else 'Chrome' getAddedOffers(loadConfig("../conf/config.csv"), browser=browser)
def main(argv): browser = argv[0] if len(argv) >= 1 else 'Chrome' getAddedOffers(loadConfig("../conf/config.csv"), browser=browser)