예제 #1
0
#!/usr/bin/python

import logging
import sys

from mwr.common import logger
from mwr.droidhg.console import Console

logger.setLevel(logging.DEBUG)
logger.addStreamHandler()

Console().run(sys.argv[2::])
    
예제 #2
0
#!/usr/bin/env python

import logging
import sys

from mwr.common import logger

from drozer.server import Server

logger.setLevel(logging.INFO)
logger.addStreamHandler()

Server().run(sys.argv[2::])