I am tring to create an IP locator which can show any IP location and registered country in python but I can not if there anybody to help me I would be happy thanks.

What is it that you're trying to do? If you don't have access to that data already, you will have to use a third-party IP-geolocation API in order to figure out the country based on IP address. I personally use GeoIP2.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.