Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/i/p/ip2location-6.0.0/sample_win.py   IP2Location(Download)
# License along with this library; If not, see <http://www.gnu.org/licenses/>.
 
import IP2Location;
IP2LocObj = IP2Location.IP2Location();
IP2LocObj.open("data\\IP-COUNTRY-SAMPLE.BIN");

src/i/p/ip2location-6.0.0/sample_bsd.py   IP2Location(Download)
 
 
import IP2Location;
IP2LocObj = IP2Location.IP2Location();
IP2LocObj.open("data/IP-COUNTRY-SAMPLE.BIN");