- JavaScript
- 하드 마이그레이션
- javascript 바코드 생성
- TempData
- 타임피커
- 바코드 생성하기
- 맥 오라클설치
- django 엑셀불러오기
- ASP.Net Core 404
- 하드 윈도우 복사
- SSD 복사
- asp.net Select
- swagger 500 error
- ViewData
- javascript redirection
- php 캐쉬제거
- jquery 바코드생성
- XSS PHP
- ViewBag
- Mac Oracle
- asp.net core Select
- 404에러페이지
- 말줄임표시
- XSS방어
- simpe ftp
- 강제이동
- 원격ftp
- asp.net core swagger
- asp ftp
- asp.net dropdownlist
목록python (104)
웹개발자의 기지개
RSS 형태의 xml 링크 주소를 땡겨오거나 특정 title 내용만 주욱 긁어와 보자. for 문을 돌면서, [...] 리스트 형태로 link 부분을 따로 넣어준다. 추가로 newspaper3k 라는 뉴스피드를 위한 라이브러리를 설치해 보자. 기사 내용만 추출해서 모두 보여준다.
위에서 pip install 해서 워드클라우드를 설치하는 내용인데, 이미 설치되어 있다고 메세지가 나온다. news.txt 라는 utf8형식의 기사내용이 들어있는 텍스트파일을 만들어보자.
pip install BeautifulSoup4 #라이브러리 설치 Requirement already satisfied: BeautifulSoup4 in c:\users\403-1-1\anaconda3\lib\site-packages (4.8.2) Requirement already satisfied: soupsieve>=1.2 in c:\users\403-1-1\anaconda3\lib\site-packages (from BeautifulSoup4) (1.9.5) Note: you may need to restart the kernel to use updated packages. -- 아니콘다 설치하면 이미 설치가 되어 있다. 로또 사이트의 당첨번호 긁어오기 1 2 3 4 5 6 7 import req..
heroes = [] type(heroes) ----- list heroes.append("아이언맨") print(heroes) ---- ['아이언맨'] heroes.append("닥터스트레인지") print(heroes) ---- ['아이언맨','닥터스트레인지'] print(heroes[0]) ---- 아이언맨 letters = ['a','b','c','d','e','f'] print(letters) ----- ['a', 'b', 'c', 'd', 'e', 'f'] print(letters[2:5]) ----- ['c', 'd', 'e'] print(letters[3:]) --- ['d', 'e', 'f'] print(letters[:3]) ---- ['a', 'b', 'c'] heroes[1] = "..
x = 300 + 20 print(x) ----- 320 type(x) ----- int name = "테스트" address = "대구 달서구 장기동" print(name,address) ------ 테스트 대구 달서구 장기동 name = "테스트" address = "대구 달서구 장기동" add = address + ":" + name print(add) ----- 대구 달서구 장기동:테스트 type(add) ----- str name = "테스트" address = "대구 달서구 장기동" add = address + 93 print(add) ------ TypeError Traceback (most recent call last) in 1 name = "테스트" 2 address = "대구 달서구 ..
Anaconda 를 설치하면 파이썬과 기타 라이브러리도 같이 자동 설치된다. https://www.anaconda.com/ The World's Most Popular Data Science Platform | Anaconda Anaconda is the birthplace of Python data science. We are a movement of data scientists, data-driven enterprises, and open source communities. www.anaconda.com https://www.anaconda.com/products/individual Anaconda 설치후 Jupyter Notebook 으로 코딩하면 아주 깔끔하게 파이썬을 즐길 수 있다. Jupyte..
1. 먼저 python -V 을 찍어서 버전을 확인해 보자. 2. cd /usr/src 로 이동해서 설치파일을 별도로 다운을 받는다. ...더보기 wget https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz 3. tgz 압축을 푼다. ...더보기 tar xzf Python-3.7.1.tgz 4. Python-3.7.1 폴더가 생기고 그안에서 다음을 실행한다. 컴파일한다. ...더보기 cd Python-3.-7.1 ./configure --enable-optimizations 5. 설치된다. ...더보기 make altinstall 6. 설치된 새버전을 확인해 본다. ...더보기 which python3.7 python3.7 -V 7. python 으로 간..