It looks like you're new here. If you want to get involved, click one of these buttons!
from kiteconnect import KiteConnect
import webbrowser
import pandas as pd
import logging
request_token="4FVawU71X3Xf8vSAYfQ6XKkNVo3jevId"
api_key=('s954gmx.........')
api_secret=(open('api_secret.txt','r').read())
kite=KiteConnect(api_key=api_key)
logging.basicConfig(level=logging.DEBUG)
result=(kite.generate_session(request_token, api_secret=api_secret))
print(result)