Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #4633

Re: [Python-de] Wie sieht Python fuer mich aus?

Path csiph.com!news.swapon.de!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.tota-refugium.de!.POSTED!gate.homenet!not-for-mail
From Thomas Orgelmacher <trash@odbs.org>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] Wie sieht Python fuer mich aus?
Date Mon, 9 Jan 2017 18:41:50 +0100
Organization Organization? What Organization?
Lines 16
Message-ID <ujuckd-qjg.ln1@gate.homenet> (permalink)
References <Python-20170108184230@ram.dialup.fu-berlin.de> <3dee2ce4-274a-3b59-756c-3559e7c568c1@mail.de> <mailman.382.1483969007.2395.python-de@python.org> <edhsa2F4aukU1@mid.individual.net>
Reply-To news10@odbs.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace tota-refugium.de 1483984202 30895 eJwFwYEBwDAEBMCVEOSN0z72HyF3cVKT1zPSY2OVXsQUOIK+2+LeaKP0/hnDkmNg8oOMtT4qlRGZ (9 Jan 2017 17:50:02 GMT)
X-Complaints-To abuse@news.tota-refugium.de
NNTP-Posting-Date Mon, 9 Jan 2017 17:50:02 +0000 (UTC)
User-Agent Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
X-User-ID eJwFwYENwDAIA7CXoE0CnFNl4v8TZvMq5YIocLkVtiMuWo0NAFbeaTmHzHLTIfkVmqTexPDpGy32HPwX/RPK
Cancel-Lock sha1:2Q5WScjpCIqp5HnPTlaWsKNWfZc=
X-NNTP-Posting-Host eJwFwQcBACAMAzBNg3ZHzg7zL4GEV0XboFRwuR4qp+CWYgJ0IwfI5zG9qJm6+iS4j5t28AEX8BFs
In-Reply-To <edhsa2F4aukU1@mid.individual.net>
Xref csiph.com de.comp.lang.python:4633

Show key headers only | View raw


Am 09.01.2017 um 17:33 schrieb Hermann Riemann:
[...]
>
> Verwenden tue ich eher den Typvergleich etwa:
> if type(variable)==type([]):
>    for elem in variable:
>        ..

"type(var) is list" oder ggf. "isinstance(var, list)"

-- 
I have seen things you lusers would not believe.  I've seen Sun
monitors on fire off the side of the multimedia lab. I've seen
NTU lights glitter in the dark near the Mail Gate. All these
things will be lost in time, like the root partition last week.

Back to de.comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: [Python-de] Wie sieht Python fuer mich aus? "Sven R. Kunze" <srkunze@mail.de> - 2017-01-09 14:31 +0100
  Re: [Python-de] Wie sieht Python fuer mich aus? Hermann Riemann <nospam.gerct08@hermann-riemann.de> - 2017-01-09 17:33 +0100
    Re: [Python-de] Wie sieht Python fuer mich aus? "Sven R. Kunze" <srkunze@mail.de> - 2017-01-09 18:45 +0100
      Re: [Python-de] Wie sieht Python fuer mich aus? Hermann Riemann <nospam.gerct08@hermann-riemann.de> - 2017-01-09 19:25 +0100
        Re: [Python-de] Wie sieht Python fuer mich aus? "Sven R. Kunze" <srkunze@mail.de> - 2017-01-09 20:08 +0100
          Re: [Python-de] Wie sieht Python fuer mich aus? Hermann Riemann <nospam.gerct08@hermann-riemann.de> - 2017-01-09 20:59 +0100
            Re: [Python-de] Wie sieht Python fuer mich aus? "Sven R. Kunze" <srkunze@mail.de> - 2017-01-09 21:44 +0100
      Re: [Python-de] Wie sieht Python fuer mich aus? Hermann Riemann <nospam.gerct08@hermann-riemann.de> - 2017-01-09 19:37 +0100
    Re: [Python-de] Wie sieht Python fuer mich aus? Thomas Orgelmacher <trash@odbs.org> - 2017-01-09 18:41 +0100
      Re: [Python-de] Wie sieht Python fuer mich aus? Hermann Riemann <nospam.gerct08@hermann-riemann.de> - 2017-01-09 19:11 +0100
        Re: [Python-de] Wie sieht Python fuer mich aus? Thomas Orgelmacher <trash@odbs.org> - 2017-01-09 19:56 +0100
    Re: [Python-de] Wie sieht Python fuer mich aus? Hans-Peter Jansen <hpj@urpla.net> - 2017-01-09 19:51 +0100
      Re: [Python-de] Wie sieht Python fuer mich aus? Hermann Riemann <nospam.gerct08@hermann-riemann.de> - 2017-01-09 20:19 +0100
    Re: [Python-de] Wie sieht Python fuer mich aus? Stefan Schwarzer <sschwarzer@sschwarzer.net> - 2017-01-13 08:40 +0100

csiph-web