본문 바로가기

1. SW 개발 & IT 트렌드249

Anaconda Download https://www.anaconda.com/products/individual Individual Edition 🐍 Open Source Anaconda Individual Edition is the world’s most popular Python distribution platform with over 20 million users worldwide. You can trust in our long-term commitment to supporting the Anaconda open-source ecosystem, the platform of choice www.anaconda.com 2020. 6. 24.
How to Install Java on Raspberry Pi There are two different implementations of Java, Oracle Java and OpenJDK. - OpenJDK is an open-source implementation of the Java Platform. - Oracle Java has a few additional commercial features and a license that permits only non-commercial use, such as personal or development use. This guide explains how to install Java (OpenJDK) on Raspberry Pi with the latest Raspbian OS running on it. https:.. 2020. 6. 12.
Raspberry Pi OS (previously called Raspbian) 1.Raspberry Pi OS (32-bit) with desktop and recommended software -Image with desktop and recommended software based on Debian Buster ==> 32G Memory 2.Raspberry Pi OS (32-bit) with desktop -Image with desktop based on Debian Buster ==> 8G Memory: VNC 미설치 3.Raspberry Pi OS (32-bit) Lite -Minimal image based on Debian Buster https://www.raspberrypi.org/downloads/raspberry-pi-os/ 2020. 6. 12.
Raspberry Pi - 7inch_HDMI_LCD_(B) www.raspberrypi.org/documentation/configuration/config-txt.md config.txt - Raspberry Pi Documentation www.raspberrypi.org https://www.waveshare.com/wiki/7inch_HDMI_LCD_(B) 7inch HDMI LCD (B) - Waveshare Wiki Introduction 7 inch Capacitive Touch Screen LCD, HDMI interface, supports various systems Working with PC This product supports Windows 10/8.1/8/7 OS. For the Windows 10/8.1/8 OS, the touch .. 2020. 6. 3.
Python - PEP 8 파이썬 코딩 스타일 # source : http://pythonstudy.xyz/python/article/511 예제로 배우는 파이썬 프로그래밍 - 파이썬 코딩 스타일 PEP 8 파이썬 코딩 스타일 Python Enhancement Proposal 8 (PEP 8)은 파이썬 코딩 스타일에 대한 가이드를 제시하고 있다. PEP 8은 2001년 귀도 반 로썸에 의해 처음 제안되었으며, python.org 의 PEP 링크에 자세히 pythonstudy.xyz Python Enhancement Proposal 8 (PEP 8)은 파이썬 코딩 스타일에 대한 가이드를 제시하고 있다. PEP 8은 2001년 귀도 반 로썸에 의해 처음 제안되었으며, python.org 의 PEP 링크에 자세히 소개되어 있다. 2020. 5. 26.
Raspberry Pi - wiringPi #source : http://wiringpi.com/ wiringPi updated to 2.46 for the new Pi v3+ And in celebration, there is a new Raspberry Pi – the Pi v3+. It’s more or less the same as the existing Raspberry Pi v3 with: Gigabit Ethernet interface (still on the existing USB 2 interface though, so max. theoretical speed of 420Mb/sec – my quick tests have indicated a good 320Mb/sec throughput – that’s still THREE ti.. 2020. 5. 24.
Python 에서 외부 프로세스 실행 외부 프로그램의 실행은 os 모듈을 사용할 수도 있느나 보다 전문적으로는 subprocess 모듈을 사용한다. import subprocess subprocess.run('notepad') Out[75]: CompletedProcess(args='notepad', returncode=0) subprocess.run(['notepad','ttt.out']) Out[76]: CompletedProcess(args=['notepad', 'ttt.out'], returncode=0) subprocess.run(['notepad','SomeWord.txt']) 다음은 도스용 프로그램을 사용한 예이다. 이때 wait()를 통해 프로그램이 종료될 때 까지 기다린다. 방법 1 : 직접 실행화일 위치를 지정. r에 주의.. 2020. 5. 22.
OpenCV(Open Source Computer Vision) Library OpenCV(Open Source Computer Vision)은 실시간 컴퓨터 비전을 목적으로 한 프로그래밍 라이브러리이다. 원래는 인텔이 개발하였다. 실시간 이미지 프로세싱에 중점을 둔 라이브러리이다. 인텔 CPU에서 사용되는 경우 속도의 향상을 볼 수 있는 IPP(Intel Performance Primitives)를 지원한다. 이 라이브러리는 윈도, 리눅스 등에서 사용 가능한 크로스 플랫폼이며 오픈소스 BSD 허가서 하에서 무료로 사용할 수 있다. OpenCV는 TensorFlow , Torch / PyTorch 및 Caffe의 딥러닝 프레임워크를 지원한다. OpenCV는 C/C++ 프로그래밍 언어로 개발 되었으며 파이썬 , 자바 및 매트랩 / OCTAVE에 바인딩 되어 프로그래머에게 개발 환경을.. 2020. 5. 20.
Pillow - Python Imaging Library - wiki - Python Imaging Library(PIL)은 파이썬 인터프리터에 다양한 이미지 파일 형식을 지원하고 강력한 이미지 처리와 그래픽 기능을 제공하는 자유-오픈 소스 소프트웨어 라이브러리이다. 줄여서 PIL이라고 부른다. 윈도우와 맥 오에스 엑스, 리눅스를 지원한다. PIL의 최신 버젼은 1.1.7이고 2009년 9월에 릴리즈 되었으며 파이썬 1.5-2.7을 지원한다. 개발은 2011년 PIL 저장소에 대한 마지막 커밋으로 중단된 것으로 보이며 Pillow라는 후속 프로젝트가 PIL 저장소에서 갈려져 나와 Python 3.x 지원을 추가 했다. Pillow는 PIL 후속 프로젝트로써 데비안 및 우분투 등의 리눅스 배포판에서 PIL을 대체하기 위해서 채택 되었다. https://pytho.. 2020. 5. 20.
Matplotlib.org https://matplotlib.org/index.html https://matplotlib.org/gallery.html 2020. 5. 20.
Python Web Scraping import requests def crawl(keyword): url = "https://search.shopping.naver.com/search/all.nhn?query=?????&cat_id=&frm=NVSHATC" data = requests.get(url) print(data.status_code, url) return data.content # print(crawl("")) --------------------------------------------------------------------- from bs4 import BeautifulSoup def getProductInfo(li): # print(li) img = li.find("img") alt = img['alt'] priceR.. 2020. 5. 20.
Python 다양한 정규식 패턴 표현 ^ 이 패턴으로 시작해야 함 ^abc : abc로 시작해야 함 (abcd, abc12 등) $ 이 패턴으로 종료되어야 함 xyz$ : xyz로 종료되어야 함 (123xyz, strxyz 등) [문자들] 문자들 중에 하나이어야 함. 가능한 문자들의 집합을 정의함. [Pp]ython : "Python" 혹은 "python" [^문자들] [문자들]의 반대로 피해야할 문자들의 집합을 정의함. [^aeiou] : 소문자 모음이 아닌 문자들 | 두 패턴 중 하나이어야 함 (OR 기능) a | b : a 또는 b 이어야 함 ? 앞 패턴이 없거나 하나이어야 함 (Optional 패턴을 정의할 때 사용) \d? : 숫자가 하나 있거나 없어야 함 + 앞 패턴이 하나 이상이어야 함 \d+ : 숫자가 하나 이상이어야 함 * .. 2020. 5. 19.