I am trying to find the Country of a database of IPs in Python. As a test I tried to find the location of one IP using pygeoip. However my code is not producing any output. The print statement is not giving me any output. It's my first time using this package and I am not sure how variable is stored.
I am using Pycharm to run the code.
import pygeoip
gi = pygeoip.GeoIP('GeoIP.dat')
Country = gi.country_code_by_name('64.233.161.99')
print(Country)