Flags

· Python
Python Command Flag python -c - (command) 직접 명령어를 입력해 Python 코드를 실행 ex) python -c "import pandas as pd" python -m - (module) Python 모듈을 스크립트로 실행. ex) 'python -m http.server' 현재 디렉토리에서 HTTP 서버 실행 python -i - (interactive) 스크립트 실행 후 대화형 모드로 진입 ex) 스크립트 실행 후 interpreter로 진입 python -O - (Optimize) 최적화 모드를 활성화, assert문을 제거하고 `__debug__`를 'False'로 설정 python -B - (bytecode) .pyc 파일을 생성하는 것을 방지. 보통 개발 중..
다했다
'Flags' 태그의 글 목록