Initial commit
This commit is contained in:
34
test.py
Normal file
34
test.py
Normal file
@@ -0,0 +1,34 @@
|
||||
import logging
|
||||
import sys
|
||||
|
||||
from flow import Flow
|
||||
from datetime import date
|
||||
|
||||
import sys
|
||||
import pickle
|
||||
import re
|
||||
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
with Flow() as flow:
|
||||
if True or flow.login('email', 'password'):
|
||||
start = date(2015, 4, 1)
|
||||
# end = date(2015, 5, 1)
|
||||
end = date.today()
|
||||
|
||||
test = date(2015, 4, 2)
|
||||
|
||||
# print(start <= test <= end)
|
||||
# flow.getEventsInRange(start, end)
|
||||
# flow.parseCalenderEvents()
|
||||
flow.processTraining()
|
||||
|
||||
sys.exit()
|
||||
|
||||
# class Jobs:
|
||||
# def download(self, id):
|
||||
# print(id)
|
||||
# print(x)
|
||||
|
||||
# for job in jobs[:]:
|
||||
# getattr(Jobs, 'download')(None, *job[1])
|
||||
Reference in New Issue
Block a user