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
import datetime | |
current_time = datetime.datetime.now() | |
def nine_to_five_weekday(time): | |
if time.weekday() in range(0,5) and time.hour in range(9,17): | |
return 20 | |
else: | |
return 80 |
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
import gzip | |
import os.path | |
from peewee import * | |
from subprocess import check_output | |
from collections import OrderedDict | |
import re | |
build = "WS245" |
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
Show hidden characters
{ | |
"auto_complete_commit_on_tab": true, | |
"caret_style": "solid", | |
"color_scheme": "Packages/Colorsublime - Themes/Abyss.tmTheme", | |
"draw_white_space": "all", | |
"enable_tab_scrolling": false, | |
"ensure_newline_at_eof_on_save": false, | |
"file_exclude_patterns": | |
[ | |
"*.pyc", |