개발툴
python -> https://www.python.org/
참고 : https://wikidocs.net/book/1
참고 : http://blog.eairship.kr/category/%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D%20%EA%B4%80%EB%A0%A8/Python
SublimeText http://www.sublimetext.com/
추가 plugin 설치 -> https://packagecontrol.io/installation#st3
SublimeText에서 python 사용하기 위한 plugin
SublimeREPL
SublimeLinter
SublimeLinter 설치 후
https://bootstrap.pypa.io/ 에서 get-pip.py를 다운로드 후.. Sublime Text로 불러와 Ctrl+B를 눌러서 실행시킵니다.
%python_home%\Scripts> pip3.4 install flake8
SublimeLinter-flake8 설치
Sublime Text 3 에서 파이썬 빌드 설정
|
// Preferences -> Browser Packages ... 를 선택하면, 윈도우탐색기(혹은 파인더) 로 Packages 디렉토리가 뜹니다.
// Users 디렉토리에 본 파일을 복사해주세요. // 맥에서는 $HOME/Library/Application Support/Sublime Text 3/Packages/User/Python-UTF8.sublime-build 과 같은 경로가 됩니다. // 윈도우에서는 $HOME/Application Data\Sublime Text 3\Packages\User\Python-UTF8.sublime-build 과 같은 경로가 됩니다. // 이제 Tols -> Build System 에서 Python-UTF8 을 선택하고, 실행할 파이썬 스크립트를 연 후, Ctrl+B 를 눌러봅니다. // 한글이 잘 출력되면 OK !!! { "shell_cmd": "python -u \"$file\"", "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python", "env": {"PYTHONIOENCODING": "utf8"} } |
indentxml
"theme": "Soda Dark 3.sublime-theme",
ConvertToUTF8
http://openpyxl.readthedocs.org/en/latest/index.html
참고 : http://www.hanul93.com/openpyxl-basic/
https://bitbucket.org/
// Settings - User
{
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
"theme": "Soda Dark 3.sublime-theme",
"detect_indentation": false,
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"show_encoding": true,
"highlight_line": true,
"tab_completion": false,
"fade_fold_buttons":true,
"bold_folder_labels":true,
"highlight_modified_tabs":true
}
// Key Binding - User
[
{ "keys": ["ctrl+alt+b"], "command": "run_existing_window_command", "args":
{
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
} }
]