reverse-lookup Questions

13

Solved

Python's list type has an index() method that takes one parameter and returns the index of the first item in the list matching the parameter. For instance: >>> some_list = ["apple", "pear...
Pruitt asked 3/6, 2009 at 20:1

7

Solved

I have data that is organized in kind of a "key-key" format, rather than "key-value". It's like a HashMap, but I will need O(1) lookup in both directions. Is there a name for this type of data stru...
Critique asked 3/11, 2009 at 20:46

5

Solved

In PHP is there a function to do a reverse lookup on a domain name to find out how many websites are hosted on the particular shared hosting server that domain name is hosted on. Or, a way to do th...
Apparel asked 5/8, 2010 at 1:43

1

Is there any way to do a reverse lookup using python, to check the list of websites sharing the same IP address in a shared hosting? Some web sites offer a tool for this purpose .
Binkley asked 8/11, 2013 at 19:59

2

Solved

I'm building a web app that tracks what library books a person checks out. I have the following models: class Person(models.Model): name = models.CharField(max_length=100) def __unicode__(self):...
Interrelate asked 3/4, 2013 at 15:16

5

Solved

I have a hashable identifier for putting things in a dictionary: class identifier(): def __init__(self, d): self.my_dict = d self.my_frozenset = frozenset(d.items()) def __getitem__(self, item...
Anorak asked 19/11, 2010 at 12:21
1

© 2022 - 2024 — McMap. All rights reserved.