일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- CES 2O21 참가
- KNeighborsClassifier
- 결합전문기관
- Keras
- web 용어
- 자료구조
- mglearn
- web
- tensorflow
- C언어
- broscoding
- postorder
- CES 2O21 참여
- web 개발
- 대이터
- pycharm
- 재귀함수
- 데이터전문기관
- inorder
- vscode
- bccard
- web 사진
- cudnn
- java역사
- paragraph
- discrete_scatter
- 머신러닝
- classification
- 웹 용어
- html
- Today
- Total
목록전체 글 (689)
bro's coding
!pip install kss ''' Collecting kss Downloading kss-2.4.0.1-py3-none-any.whl (66 kB) |████████████████████████████████| 66 kB 665 kB/s Installing collected packages: kss Successfully installed kss-2.4.0.1 ''' import kss text='엎친데 덮친 격이다. 영국발 코로나바이러스감염증(COVID-19) 변이 바이러스가 또 한번 변이해 남아프리카공화국발 변이 바이러스를 모방하고 있다고 워싱턴포스트(WP)와 CNN이 3일 보도했다. 해당 사례는 미국에서도 확인됐다. 백신에 좀 더 강해졌다는 얘기인데, 전문가들은 빠른 백신 접종의 중요성을 강조한..
from nltk.tokenize import sent_tokenize text="Local farmers are protesting strengthened regulations on living shelters for foreign laborers introduced in the wake of a Cambodian worker’s death, claiming the measures are ill-devised and demanding more support from the government.In a press conference Tuesday near the Ministry of the Employment and Labor building in Sejong, the Korean Advanced Far..
from nltk.tokenize import word_tokenize print(word_tokenize("Local farmers are protesting strengthened regulations on living shelters for foreign laborers introduced in the wake of a Cambodian worker’s death, claiming the measures are ill-devised and demanding more support from the government.")) ''' ['Local', 'farmers', 'are', 'protesting', 'strengthened', 'regulations', 'on', 'living', 'shelte..
!pip install selenium

A-Z from ConsumerReports.org www.consumerreports.org import requests from bs4 import BeautifulSoup response = requests.get("https://www.consumerreports.org/cro/a-to-z-index/products/index.htm") data = BeautifulSoup(response.text,"html.parser") # 속성 # attr = {class_:"products-a-z__results__item"} subdata= data.find_all("a",class_="products-a-z__results__item") for sub in subdata: # None 제거 if sub..

import requests from bs4 import BeautifulSoup response = requests.get("http://naver.com") data = BeautifulSoup(response.text,"html.parser") # id가 u_skip인 것들을 모두 찾음 print(data.find(id="u_skip")) ''' 뉴스스탠드 바로가기 주제별캐스트 바로가기 타임스퀘어 바로가기 쇼핑캐스트 바로가기 로그인 바로가기 ''' import requests from bs4 import BeautifulSoup response = requests.get("http://naver.com") data = BeautifulSoup(response.text,"html.parser") # ..

import requests from bs4 import BeautifulSoup # naver에 get request response = requests.get("http://naver.com") # html parse data = BeautifulSoup(response.text,"html.parser") print(data.title) print(data.title.string) ''' NAVER NAVER ''' print(data.title.parent) ''' ''' print(data.head.children) # for i in data.head.children: print(i) ''' NAVER ''' print(data.div) # 뉴스스탠드 바로가기 주제별캐스트 바로가기 타임스퀘어 바..