Skip to content

Instantly share code, notes, and snippets.

if cmd != None:
cmd.set_api(api)
cmd.set_shared_storage(shared_storage)
try:
cmd.run()
cmd.unset_api()
cmd.unset_shared_storage()
api.get_command_repository().store_commands(cmd.get_next_commands())
except Exception, ex:
logging.info(ex)
from fsevents import Observer
from fsevents import Stream
from datetime import datetime
import subprocess
import os
import time
PROJECT_PATH = '/Users/.../Project/GoogleAppEngine/stackprinter/'
TEMPLATE_COMPILE_PATH = os.path.join(PROJECT_PATH,'web','template.py')
VIEWS_PATH = os.path.join(PROJECT_PATH,'app','views')