Notice
														
												
											
												
												
													Recent Posts
													
											
												
												
													Recent Comments
													
											
												
												
													Link
													
											
									| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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 | 31 | 
													Tags
													
											
												
												- 유니티
- pandas
- GIT
- 리눅스
- tensorflow
- mssql
- 함수
- port
- MySQL
- flutter
- Linux
- urllib
- javascript
- PyQt5
- 다이어트
- PER
- Unity
- Excel
- node.js
- 맛집
- PyQt
- ubuntu
- IOS
- sqlite
- 날짜
- 라즈베리파이
- swift
- python
- MS-SQL
- ASP
													Archives
													
											
											
											
											목록request (2)
아미(아름다운미소)
			
			
				HTTP Request with Python
				
	
	
               
           
               
	
		HTTP GET in Python Python 3: import urllib.request contents = urllib.request.urlopen("http://test.com/?name=test&tel=01022223333").read() Python 2: import urllib2 contents = urllib2.urlopen("http://test.com/?name=test&tel=01022223333").read()
				랭귀지/python
				
				2019. 9. 9. 17:12
			
		
			
			
				[python3.0] 웹 스크래핑(네이버 환율 정보)
				
	
	
               
           
					
					
					
					
					
					
						
					
				- 소스 코드(3.0기준)#_*_ coding:utf8 _*_ import urllib.request from bs4 import BeautifulSoup fp = urllib.request.urlopen('http://info.finance.naver.com/marketindex/exchangeList.nhn') source = fp.read() fp.close() class_list = ["tit","sale"] soup = BeautifulSoup(source,'html.parser') soup = soup.find_all("td", class_ = class_list) money_data={} for data in soup: if soup.index(data)%2==0: data=data.get_..
				랭귀지/python
				
				2017. 12. 27. 12:30