Language/Python

    python http requests module

    python http requests module

    서버단 apt install python-pip pip install requests 코드 GET import requests url = "http://www.naver.com?a=bbb&b=123" response = requests.get(url) print("status code :", response.status_code) 출처: https://hongku.tistory.com/292 [IT에 취하개 :: 취미로 하는 개발] 코드 Post import requests #paramDict = { datas = { "a" : "bbb", "b" : 123 } url = "http://www.naver.com" #response = requests.get(url, params=paramDict) res..

    jupyter notebook 사용

    jupyter notebook 사용

    esc키를 누를시 commandmode로감 b를 누를시 아래칸 셀추가 a누르면 윗칸에 셀추가 dd를 누루면 셀삭제 ctrl+enter 한줄실행 Y-코드 M-마크다운 K-셀병합 interrupt:명령어 취소 Restart&Clear OutPut: 노트북 재실행+ output Clear

    파이썬은 어디에 사용될까 ?

    간단하고 인터프리터 언어임, 개발자한테 집중된 느낌? 다른언어의 천줄을 한줄로 표현할 수 있다고함 사용분야 -데이터 분석, 사물인터넷 ex) R/판다스 라즈베리파이-모터,LED작동등 -GUI 프로그래밍 -C/C++에 적합 -웹에 적합, 앱은 아직 부족함 -Numpy라는 수치연산 모듈이 제공된다. -DB프로그래밍 가능/ 통신가능