Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
foss-final-project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mingi Song
foss-final-project
Commits
bd2d5fe4
Commit
bd2d5fe4
authored
2 years ago
by
Mingi Song
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
dd61a0e8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+13
-13
13 additions, 13 deletions
README.md
with
13 additions
and
13 deletions
README.md
+
13
−
13
View file @
bd2d5fe4
...
...
@@ -3,17 +3,17 @@
## * Python Request(리퀘스츠) 라이브러리 사용법 소개 및 활용을 통한 주식 가격 알림이 프로그램 제작
### 목차
1.
[
서론
](
#서론
)
2.
[
Python 이란?
](
#Python-이란?
)
3.
[
Python 라이브러리 'Requests'
](
#Python-라이브러리-'Requests'
)
4.
[
Requests 예제
](
#Requests-예제
)
5.
[
주식 가격 알림이 제작 및 실습
](
#주식-가격-알림이-제작-및-실습
)
6.
[
마무리
](
#마무리
)
## 서론
1.
[
서론
](
#
1.-
서론
)
2.
[
Python 이란?
](
#
2.-
Python-이란?
)
3.
[
Python 라이브러리 'Requests'
](
#
3.-
Python-라이브러리-'Requests'
)
4.
[
Requests 예제
](
#
4.-
Requests-예제
)
5.
[
주식 가격 알림이 제작 및 실습
](
#
5.-
주식-가격-알림이-제작-및-실습
)
6.
[
마무리
](
#
6.-
마무리
)
##
1.
서론
-
http 페이지에 대한 데이터를 연속적으로 불러오는 과정이 필요할 때가 있다.
-
python 라이브러리인 requests를 통해서 html 데이터를 불러오고, 필요한 데이터만을 축출하여 사용하는 방식에 대해 알아보고, 간단한 주식 프로그램을 개발해보자.
## Python 이란?
##
2.
Python 이란?
### Python이란?
-
1990년 암스테르담의 귀도 반 로섬이 개발한 인터프리터 언어이다.
-
프로그래밍 교육을 위해 많이 사용되지만, 기업의 실무에서도 많이 사용한다.
...
...
@@ -52,7 +52,7 @@
#### Matplotlib
-
고품질 2D 플로팅 그래프 및 그림 생성 기능 제공한다.
## Python 라이브러리 'Requests'
##
3.
Python 라이브러리 'Requests'
### Requests란?
-
Python 용 HTTP 라이브러리이다.
-
특정 웹사이트에 HTTP 요청을 보내는 모듈이다.
...
...
@@ -64,7 +64,7 @@
-
원하는 정보의 태그값을 통해서 정보를 불러올 수 있다.
## Requests 예제
##
4.
Requests 예제
### Naver에 HTTP 요청 보내기
-
네이버에 http 요청을 보내, 네이버의 html 데이터를 불러오도록 해보자.

...
...
@@ -92,7 +92,7 @@

-
위와 같은 경우에는 'a' 태그이면서 'class= link_set'의 속성을 가지는 html 데이터를 호출하였다.

## 주식 가격 알림이 제작 및 실습
##
5.
주식 가격 알림이 제작 및 실습
-
앞에서 배운 requests와 beautifulSoup 라이브러리를 응용하여 주식 가격 알림이 프로그램을 제작해보자.
-
주식 가격 알림이 : 종목의 현재가를 알려주는 프로그램
...
...
@@ -142,7 +142,7 @@

-
1분 간격으로 기입한 종목의 현재가가 갱신되어 출력되는 것을 확인할 수 있다.
## 마무리
##
6.
마무리
-
Python의 requests 라이브러리의 사용법에 대해 알아보고, 이를 응용하여 간단한 프로그램을 개발하여 보았다.
-
requests는 http의 데이터들을 파싱하는데, 매우 유용하므로 다른 영역에서도 많이 이용할 수 있을 것이다.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment