카카오크롤러 업데이트
git-svn-id: svn://192.168.0.12/source@289 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
@@ -22,6 +22,16 @@ from selenium.webdriver.support import expected_conditions as EC
|
|||||||
from selenium.webdriver.support.ui import WebDriverWait
|
from selenium.webdriver.support.ui import WebDriverWait
|
||||||
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
|
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
|
||||||
|
|
||||||
|
is_debug = False
|
||||||
|
|
||||||
|
def printl(*objects, sep=' ', end='\n', file=None, flush=True):
|
||||||
|
print(*objects, sep=sep, end=end, file=file, flush=flush)
|
||||||
|
|
||||||
|
|
||||||
|
def printd(*objects, sep=' ', end='\n', file=None, flush=True):
|
||||||
|
if is_debug:
|
||||||
|
print(*objects, sep=sep, end=end, file=file, flush=flush)
|
||||||
|
|
||||||
|
|
||||||
def print_and_flush(string):
|
def print_and_flush(string):
|
||||||
print(string)
|
print(string)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user