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


Groups > comp.lang.python > #13040

Re: can't generate iterator from list

Newsgroups comp.lang.python
Date 2011-09-09 17:07 -0700
References <mailman.920.1315612886.27778.python-list@python.org>
Subject Re: can't generate iterator from list
From Miki Tebeka <miki.tebeka@gmail.com>
Message-ID <mailman.921.1315613276.27778.python-list@python.org> (permalink)

Show all headers | View raw


1. Can you post the code somewhere where it's indented properly? (http://paste.pocoo.org/)
2. In the list example you call balls_in_numbered_boxes(2, [3,3,3]) but in the interactive example you call balls_in_numbered_boxes(3,[3,3,3])

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


Thread

can't generate iterator from list "Dr. Phillip M. Feldman" <Phillip.M.Feldman@gmail.com> - 2011-09-09 16:45 -0700
  Re: can't generate iterator from list Miki Tebeka <miki.tebeka@gmail.com> - 2011-09-09 17:07 -0700
  Re: can't generate iterator from list Miki Tebeka <miki.tebeka@gmail.com> - 2011-09-09 17:07 -0700
  Re: can't generate list from iterator [was: can't generate iterator from list] Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-09-10 10:55 +1000

csiph-web