Can you please explain me what the [0] in host =
socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0] does at the end?
Why not just host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )
instead? what is the need of [0] ?
--
http://mail.python.org/mailman/listinfo/python-list
On 1/9/2012 2:19 PM, Νικόλαος Κούρας wrote:
Can you please explain me what the [0] in host =
socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0] does at the end?
Why not just host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )
instead? what is the need of [0] ?
The address database can
On 10 Ιαν, 00:35, Dominic Binks dbi...@codeaurora.org wrote:
On 1/9/2012 2:19 PM, Νικόλαος Κούρας wrote:
Can you please explain me what the [0] in host =
socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0] does at the end?
Why not just host = socket.gethostbyaddr(
On Tue, Jan 10, 2012 at 9:35 AM, Dominic Binks dbi...@codeaurora.org wrote:
The address database can have multiple names for the same IP address so
gethostbyaddr returns a list - [0] being the first item in the list (and
usually considered the canonical name)
Point to note: The inverse
Chris Angelico ros...@gmail.com wrote:
On Tue, Jan 10, 2012 at 9:35 AM, Dominic Binks dbi...@codeaurora.org wrote:
The address database can have multiple names for the same IP address so
gethostbyaddr returns a list - [0] being the first item in the list (and
usually considered the
On Tue, Jan 10, 2012 at 10:32 AM, Nick Dokos nicholas.do...@hp.com wrote:
Chris Angelico ros...@gmail.com wrote:
Point to note: The inverse operation, getting IP addresses from names,
so socket.gethostbyaddr(os.environ['REMOTE_ADDR'])[0] is the 0th element
of the tuple, i.e. the *name* that
Am 09.01.2012 23:35 schrieb Dominic Binks:
On 1/9/2012 2:19 PM, Νικόλαος Κούρας wrote:
Can you please explain me what the [0] in host =
socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0] does at the end?
Why not just host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )
instead? what is
On Tue, Jan 10, 2012 at 5:42 PM, Thomas Rachel
nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa...@spamschutz.glglgl.de
wrote:
BTW: This behaviour might be useful with gethostbyaddr() as well - if the
first one returned has gone away, you have the chance to reach the 2nd
one...
In its directest
On 23 Δεκ 2011, 19:14, Νικόλαος Κούρας nikos.kou...@gmail.com wrote:
On 23 Äåê, 12:41, becky_lewis bex.le...@gmail.com wrote:
Is there any possibility that you can tell us what the script actually
is or provide a code listing (use pastebin if it's big)?
The script is about retrieving and
Am 02.01.2012 14:25, schrieb Νικόλαος Κούρας:
On 23 Δεκ 2011, 19:14, Νικόλαος Κούραςnikos.kou...@gmail.com wrote:
I dont know why this line host =
socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0] fails sometimes
and some other times works ok retrieving the hostnames correctly.
Please i
On 2 Ιαν, 16:00, Heiko Wundram modeln...@modelnine.org wrote:
Am 02.01.2012 14:25, schrieb Νικόλαος Κούρας:
On 23 Δεκ 2011, 19:14, Νικόλαος Κούραςnikos.kou...@gmail.com wrote:
I dont know why this line host =
socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0] fails sometimes
and some
In article
6b787f23-5813-4831-a349-02883f564...@q7g2000yqn.googlegroups.com,
ÃΪëûÏÎ»Î±Î¿Ï ÎοÏÏÎ±Ï nikos.kou...@gmail.com wrote:
On 2 ÃÃÃΩÃÎ¥, 16:00, Heiko Wundram modeln...@modelnine.org wrote:
Am 02.01.2012 14:25, schrieb ÃΪëûÏÎ»Î±Î¿Ï ÎοÏÏαÏ:
On 23
Am 22.12.2011 15:40 schrieb Νικόλαος Κούρας:
Hello when i try to visit my webpage i get the error it displays. Iam
not posting it since you can see it by visiting my webpage at
http://superhost.gr
Please if you can tell me what might be wrong.
What is wrong on this site? Mainly the unwanted
On 2 Ιαν, 17:49, Thomas Rachel nutznetz-0c1b6768-bfa9-48d5-
a470-7603bd3aa...@spamschutz.glglgl.de wrote:
Am 22.12.2011 15:40 schrieb Νικόλαος Κούρας:
Hello when i try to visit my webpage i get the error it displays. Iam
not posting it since you can see it by visiting my webpage at
On 2 Ιαν, 17:47, Roy Smith r...@panix.com wrote:
In article
6b787f23-5813-4831-a349-02883f564...@q7g2000yqn.googlegroups.com,
ÉΪÉ«É»όλαος Κούρας nikos.kou...@gmail.com wrote:
On 2 ÉßÉΩÉΥ, 16:00, Heiko Wundram modeln...@modelnine.org wrote:
Am 02.01.2012 14:25, schrieb ÉΪÉ«É»όλαος
In article
bacea15d-fae0-4b1f-8a8e-a8b06b561...@t30g2000vbx.googlegroups.com,
ÃΪëûÏÎ»Î±Î¿Ï ÎοÏÏÎ±Ï nikos.kou...@gmail.com wrote:
I'am trying to present myself through my webpage as computer tech.
Is the background music so bad?! :-)
Yes. Background music on web sites is evil.
On 2 Ιαν, 20:42, Roy Smith r...@panix.com wrote:
In article
bacea15d-fae0-4b1f-8a8e-a8b06b561...@t30g2000vbx.googlegroups.com,
ÉΪÉ«É»όλαος Κούρας nikos.kou...@gmail.com wrote:
I'am trying to present myself through my webpage as computer tech.
Is the background music so bad?! :-)
Yes.
On 2 Ιαν, 20:42, Roy Smith r...@panix.com wrote:
In article
bacea15d-fae0-4b1f-8a8e-a8b06b561...@t30g2000vbx.googlegroups.com,
ÉΪÉ«É»όλαος Κούρας nikos.kou...@gmail.com wrote:
I'am trying to present myself through my webpage as computer tech.
Is the background music so bad?! :-)
Yes.
In article
24123dfe-b2fc-4f4c-8dfe-23bfef19b...@m10g2000vbc.googlegroups.com,
ÃΪëûÏÎ»Î±Î¿Ï ÎοÏÏÎ±Ï nikos.kou...@gmail.com wrote:
On 2 ÃÃÃΩÃÎ¥, 20:42, Roy Smith r...@panix.com wrote:
In article
bacea15d-fae0-4b1f-8a8e-a8b06b561...@t30g2000vbx.googlegroups.com,
â
Is there any possibility that you can tell us what the script actually
is or provide a code listing (use pastebin if it's big)?
--
http://mail.python.org/mailman/listinfo/python-list
On 23 Δεκ, 12:41, becky_lewis bex.le...@gmail.com wrote:
Is there any possibility that you can tell us what the script actually
is or provide a code listing (use pastebin if it's big)?
The script is about retrieving and storing the visitros hostnames to
mysql database creating a log file.
I
Hello when i try to visit my webpage i get the error it displays. Iam
not posting it since you can see it by visiting my webpage at
http://superhost.gr
Please if you can tell me what might be wrong.
--
http://mail.python.org/mailman/listinfo/python-list
2011/12/22 Νικόλαος Κούρας nikos.kou...@gmail.com:
Hello when i try to visit my webpage i get the error it displays. Iam
not posting it since you can see it by visiting my webpage at
http://superhost.gr
Please if you can tell me what might be wrong.
I can't see any errors on that page -- can
On Dec 22, 2:40 pm, Νικόλαος Κούρας nikos.kou...@gmail.com wrote:
Hello when i try to visit my webpage i get the error it displays. Iam
not posting it since you can see it by visiting my webpage
athttp://superhost.gr
Please if you can tell me what might be wrong.
It doesn't seem entirely
On 22 Δεκ, 17:32, Rami Chowdhury rami.chowdh...@gmail.com wrote:
2011/12/22 Νικόλαος Κούρας nikos.kou...@gmail.com:
Hello when i try to visit my webpage i get the error it displays. Iam
not posting it since you can see it by visiting my webpage at
http://superhost.gr
Please if you can
25 matches
Mail list logo