13 lines
374 B
Python
13 lines
374 B
Python
global print_log, sendFeedback, inspect
|
|
import sys, inspect, os, traceback
|
|
|
|
def print_log(testName, DEVICE, text):
|
|
time.ctime()
|
|
now = time.strftime('%Y.%m.%d %H:%M:%S')
|
|
print now + ' ' + DEVICE + ' - ' + testName + ': ' + str(text)
|
|
log( now + ' ' + DEVICE + ' - ' + testName + ': ' + str(text))
|
|
|
|
pippo = 'pippo'
|
|
|
|
def print_pio():
|
|
print 'pio' |