Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Time for some Actions! :D

Michael managedkaos

💭
Time for some Actions! :D
View GitHub Profile
View gist:52a2aafacb6561e8420151ac0c7cae6d
days = ['Monday','Tuesday','Wednesday','Thursday','Friday']
today = datetime.datetime.today().strftime('%A')
tomorrow = (datetime.date.today() + datetime.timedelta(days=1)).strftime('%A')
day = tomorrow
day_counter=0
for cell_menu_item in row('div',{'class':'cell_menu_item'}):
if day not in days[day_counter]:
View json_uuid.py
import uuid
import json
import random
import datetime
id = str(uuid.uuid1())
actions = ['purchase1', 'purchase2', 'version']
print json.dumps({'date' : str(datetime.datetime.now()), 'id' : id, 'action' : 'install'})
for i in xrange(10):