[python] pyinstaller chromedriver 콘솔창 제거
selenium을 사용하기 위해 chromedriver를 프로젝트내에 패킹했고, 경로 잡아주고 실행이 되는 것을 확인 했다. 그래서 pyinstaller --noconsole 옵션도 주고 webdriver 옵션에 options.add_experimental_option('excludeSwitches', ['enable-logging']) 도 줘봤고.. options.add_argument("--headless") options.headless = True 도 설정해봤는데 계속 뜨네???? google에 답이 있기에 추가로 검색 되도록 남깁니다. 파이참에서 shift 두번 누르면 All 검색이 가능하다 service.py로 검색해보면 webdriver\common 으로 끝나는 파일이 보이는데 열어서 아래와..
2021.08.02