Python 프로그래밍 시작하기

in kr •  7 years ago 

python 환경구성 하기

python 환경구성은 python 설치 후 개별적으로 pip 명령어를 통해 필요한 package 를 설치하는 방법이 있으나 간편하게 anaconda 배포판을 설치하여 개발에 필요한 거의 모든 package 를 설치할 수 있음.

Anaconda 를 이용환 환경 구성

anaconda 설치
https://www.continuum.io/downloads 사이트에서 사용하는 os 에 적합한 설치파일을 다운로드 후 설치

anaconda 에는 PyQt4 가 기본적으로 포함되어 있어서 QT 를 통한 GUI 개발환경 구성에 아주 편리하게 사용이 가능

PyQt4 에서 QAxContainer 사용하기

anaconda 의 최신버전에는 QAxContainer (ActiveX 를 비롯한 OCX 에 대한 관리) 가 라이센스 문제로 제거되어 OCX 연동 개발환경의 경우에는 최신 버전의 anaconda 가 아닌 특정버전의 anaconda 를 설치해야만 사용이 가능

https://repo.continuum.io/archive/Anaconda3-2.3.0-Windows-x86.exe

Python 과 pip 을 이용한 환경 구성

python 설치

https://www.python.org/downloads/windows/ 사이트에서 사용하는 os 에 적합한 설치파일을 다운로드 후 설치

pyqt5 설치

pip install pyqt5

pip upgrade
python -m pip install pip --upgrade

Useful Links for Python

https://www.python.org/
https://www.continuum.io/ 대표적인 python 배포 패키지인 anaconda 사이트
https://pythonprogramming.net/ 광범위한 Python 강좌, 기초에서 활용까지
https://opentutorials.org/module/544/4998 '예제로 배우는 PyQt 프로그래밍'

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

This post has received a 5.90% UpGoat from @shares. Send at least 0.1 SBD to @shares with a post link in the memo field.

Invest your Steem Power and help minnow at the same time to support our daily curation initiative. Delegate Steem Power (SP) to @shares by clicking one of the following links: 1000 SP, 5000 SP or more. Join us at https://steemchat.com/ discord chat.

Support my owner. Please vote @Yehey as Witness - simply click and vote.

You got a 8.37% upvote from @bearwards courtesy of @jjerryhan!

You got a 2.31% upvote from @nado.bot courtesy of @jjerryhan!

Send at least 0.1 SBD to participate in bid and get upvote of 0%-100% with full voting power.

You got a 3.96% upvote from @ipromote courtesy of @jjerryhan!
If you believe this post is spam or abuse, please report it to our Discord #abuse channel.

If you want to support our Curation Digest or our Spam & Abuse prevention efforts, please vote @themarkymark as witness.

This post has received a 2.53 % upvote from @getboost thanks to: @jjerryhan.

Thanks for your contribution @jjerryhan, you got a 22.08% upvote from @canalcrypto!
70% of your contribution goes to our delegators so if you'd like to help us push posts even harder while earning some extra steems please consider delegating to @canalcrypto. You can delegate your SP here: https://steembottracker.com/delegation.html (Delegator = your username, delegatee = canalcrypto), thanks in advance for your support.