본문 바로가기

my_lesson/_Python19

Python - C/C++ API Reference Manual Introduction Embedding & Extended Python / C&CPP Introduction Python 인터페이스를 통해 C 및 C ++ 프로그래머는 Python 인터프리터에 액세스 할 수 있다. API는 C ++에서도 똑같이 사용할 수 있다. 특정 목적을 위해 확장 모듈을 작성. 이들은 파이썬 인터프리터를 확장하는 C 모듈입니다. 아마도 가장 일반적인 용도 일 것입니다. 큰 응용 프로그램에서 파이썬을 구성 요소로 사용 이 기술은 일반적으로 응용 프로그램에 파이썬 임베딩이라고합니다. 일반적으로 확장하는 것이 임베딩하는 것보다 슆다. Python에서 제공하는 API함수는 확장하거나 임베딩하는 것과 관계 없이 유용하지만 임베딩하는 것보다 확장기능에 먼저 익숙해지기를 추천한다. Coding standards 특히.. 2019. 4. 19.
Python- C/C++ API Reference Manual Sequence Python- C/C++ API Reference Manual Sequence¶ Python c++ 연동 Python/C API Reference Manual — Python 3.9.5 documentation docs.python.org This manual documents the API used by C and C++ programmers who want to write extension modules or embed Python. It is a companion to Extending and Embedding the Python Interpreter, which describes the general principles of extension writing but does not document .. 2019. 4. 19.
Phyton - Django 설치 및 활용 Phyton - Django 설치 및 활용PIP 설치 : python설치와 함께 설치된다Django 응용 [바로가기]Linux: $ dpkg -l python3-pip // python3-pip가 설치 되었는지 확인 그리고, 버전확인$ dpkg -L python3-pip // python3-pip가 설치된 경로 확인$ aptitude[apt-cache] search python3-pip // 설치 가능한 python3-pip 패키지 확인 // python3-pip가 설치되어 있지 않다면$ apt-get install python3-pip // 설치하기 Windows Python Downloads최신판 파이썬을 설치하면 python설치경로/Scripts에 pip가 위치한다.환경변수에 Path를 등록해주면 .. 2018. 12. 8.
Python Tensorflow 설치 Python Tensorflow Python Tensorflow 설치Which command to use for checking whether python is 64bit or 32bit First, open cmd and type in $ python Then, type in the following two lines >>> import platform >>> platform.architecture() $ conda create -n tensorflowCondaValueError: prefix already exist 라는 메세지가 뜨면 $ conda info --envs해서 가상환경리스트를 확인한후 동일 이름이 있을경우 새로 하거나 기존 것을 지우고 다시 만든다.$ (source) activate t.. 2018. 10. 6.
Python Java C - Vim을 IDE처럼 사용할수 있게 설정하기 Python Vim을 IDE처럼 사용할수 있게 설정하기 ~$ sudo apt-get update~$ sudo apt-get install vim~$ sudo apt-get install curl vim exuberant-ctagx git ack-grep## E: Package 'ack-grep' has no installation candidate -> pass ack-grep~$ sudo pip install pep8 flake8 pyflakes isort yapf~$ cd ~~$ rm .vimrc https://github.com/fisadev/fisa-vim-config 로 이동후 열려진 문서를 모두 선택하여 copy한후~$ vi .vimrc하여 붙여넣기 한후 저장한다..vimrc의 경로는 /hom.. 2018. 9. 28.
Python 가상환경 Miniconda 설치하기 Linux Windos Mac Python 가상환경 Miniconda 설치하기 Linux Windos Mac 시스템 요구사항 32비트 또는 64비트 컴퓨터 미니콘다를 위한 디스크 공간 400MB 아나콘다를 다운로드하고 설치하기 위한 디스크 공간 최소 3GB 윈도우, 맥OS, 리눅스 파이썬 2.7, 3.4, 3.5, 3.6. pycosat 패키지. PyYaml 패키지. Requests 패키지. 리눅스에서 설치 인스톨러를 다운로드한다. $ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh 리눅스용 미니콘다 인스톨러. 리눅스용 아나콘다 인스톨러. 터미널에서 다음을 실행한다. 미니콘다: bash Miniconda3-latest-Linux-x86_64.sh 아.. 2018. 9. 27.