import os
import sys
import urllib.request
client_id = "tSXeMjd9Z85SakWAn3t1-2345"
client_secret = "Xj5KGM4R6-7890t"
encText = urllib.parse.quote("삼성전자")
request = urllib.request.Request(url)
request.add_header("X-Naver-Client-Id",client_id)
request.add_header("X-Naver-Client-Secret",client_secret)
response = urllib.request.urlopen(request)
rescode = response.getcode()
if(rescode==200):
response_body = response.read()
print(response_body.decode('utf-8'))
else:
print("Error Code:" + rescode)