Python(5)
-
Python (Variables)
Python (Variables) (Variable) is the name of the space used to store data in memory. Data or objects stored in variables can change continuously within a program. Learn how to declare and use variables. The sequence is as follows. Variable declaration and assignment Naming Variables Variable declaration and assignment In Python, declaration and assignment of variables occurs simultaneously. decl..
2022.01.02 -
Python (Basics)
Python (Basics) Learn the basics of the Python programming language. The sequence is as follows. (Keyword) (Identifier) (Indentation) (Comment) (Keyword) (Keyword) is a string that is already reserved in the Python language, It cannot be used as the name of a variable or function, etc. There are 33 keywords in Python, as listed below. False, None, True, and, as, assert, break, class, continue, d..
2022.01.02 -
Python - Getting Started with Programming
Python - Getting Started with Programming Python is a dynamic typing, object-oriented programming language. Python is a high-level, general-purpose, multi-platform, interpreted language. The design goal of the Python language is to focus on programmer productivity and readability of code. Python is oriented towards minimalism. One of the most striking features is that it does not use semicolons ..
2022.01.02 -
[파이썬 / 클롤링] 네이버 뉴스 / 위에서 2개만 크롤링 (쉬어요)
네이버 뉴스 위에서 2개 최신 것만 보여주는 코드 입니다. newsnumer 숫자를 바꿔주면, 원하는 숫자만큼 (최대 10) 나옵니다. 쉽죠?! count를 이해하면 됩니다. (아래와 같이 원하는 숫자만 넣어주면 됩니다. 시작은 0부터) import urllib.parse from bs4 import BeautifulSoup from selenium import webdriver import time import re driver = webdriver.Chrome() naverNewsUrl = 'https://news.naver.com/main/list.naver?mode=LS2D&mid=shm&sid1=101&sid2=260' driver.get(naverNewsUrl) time.sleep(3) htm..
2022.01.01 -
쿠팡파트너스 API - 파이썬 결과를 엑셀로 보기 (너무 쉽게)
컴퓨터 전공자 아닙니다. 간단하게 파이썬 결과를 엑셀로 보겠습니다. 많이 블로그 와주세요~! (내용이 마음에 조금이 만족하셨다면 구독 부탁 드려요~^^; ) 1. new termianl (또는 윈도우 command 창)에서 아래를 입력합니다. pip install xlrd pip install openpyxl pip install pandas pip install xlwings 2. 아래 링크에 있는 GITHUB을 설치한다. stackoverrun.com/ko/q/12557295 python - XLWings 추가 기능을 내가 할 때마다 Excel에 설치할 수 없습니다. 정말이 추가 기능을 Excel에서 사용해보고 싶지만 자신이나 동료 (내 정보 시스템 교수 중 한 명 포함) 노력했지만, 우리는 그것을 ..
2021.01.03