seems not working under gae. On 12月25日, 下午1时56分, OvermindDL1 <[email protected]> wrote: > 2009/12/24 ajaxer <[email protected]>: > > > how to do with python in gae? > > Look at the tutorials. > > And do resolve a domain name to a list of possible IP's in Python, do: > > import socket > a = socket.gethostbyname_ex('google.com') > > The variable "a" will then contain a 3-tuple, with the 3rd element > being a list of possible IP address that will resolve, so for the > above google.com lookup, it will be this: > ('google.com', [], ['74.125.45.147', '74.125.45.106', '74.125.45.105', > '74.125.45.104', '74.125.45.103', '74.125.45.99'])
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
