2016. 1. 27. 13:17

ui 파일에서 py 소스 변환


pyuic4 untitled.ui -o untitled.py

Posted by sungwonpekr
2016. 1. 23. 23:16

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"

}

]




Posted by sungwonpekr
2015. 4. 27. 14:36
    • 기자재
      • ESC : TR_P25A - TURNIGY Plush 25amp Speed Controller
      • Receiver : DM6F 2.4GHz DMSS 6CH Parkfly Receiver
      • Servo : HXT900 - HXT900 9g / 1.6kg / .12sec Micro Servo  * 4
      • Motor : NTM Prop Drive Series 28-26A 1200kv / 286w
      • Battery : ZIPPY Flightmax 1800mAh 3S1P 20C * 2
      • Prop : SF E-Prop 9x4.7 / 229x119.5mm w/ Adapters Black (5pcs/bag)
      • Spinner :  
      • 푸시로드 : Metal Push Rods M2xL300 (2pcs/set)
      • 링키지 스토퍼 : Linkage Stopper D2.1mm (10sets)
      • 컨트롤 혼 : Control Horns 13.5x16mm (10pcs)
      • 서보 혼 (필요시)
      • 서보 연장선 : 30CM Servo Lead Extention (JR) with hook 26AWG (5pcs/bag)
      • 서보 Y 연장선 : AM-3003-15 - JR Y Servo Lead 15CM Length (5pcs/bag)
      • 모터마운트 : Alloy Gas-to-E Conversion Mount (43/42mm)
      • 얇은 나무 막대(?) - 대나무꼬치 
      • 연장 배선 흑/적
      • 3.5mm 골드 커넥터 : PolyMax 3.5mm Gold Connectors 10 PAIRS (20PC)
      • 베터리 커넥터 : Nylon XT60 Connectors Male/Female (5 pairs) GENUINE

    • 제작 도구
      • 접착 : 글루건
      • 순간접착제
      • 철자
      • 커터칼
      • opp 투명 테이프
      • 필라멘트테이프
      • 폼보드 5T
      • 포맥스 3T


Posted by sungwonpekr