Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60591
| References | <35a56651-33b3-454e-a936-439196989d3b@googlegroups.com> |
|---|---|
| Date | 2013-11-27 21:53 +1100 |
| Subject | Re: Wrapping around a list |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3288.1385549643.18130.python-list@python.org> (permalink) |
On Wed, Nov 27, 2013 at 9:46 PM, <amjadcsu@gmail.com> wrote: > So the question i am asking , how can i add wrapping around sublist in my sliding window function. By the look of what you now have, the easiest way would probably be to duplicate the list before you slide. So instead of working on "LEQN", you work on "LEQNLEQN" - or possibly "LEQNLEQ", or other shortened versions, if it's easier than pulling out the duplicates. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Wrapping around a list amjadcsu@gmail.com - 2013-11-27 02:46 -0800
Re: Wrapping around a list Chris Angelico <rosuav@gmail.com> - 2013-11-27 21:53 +1100
Re: Wrapping around a list Amjad Syed <amjadcsu@gmail.com> - 2013-11-27 03:07 -0800
Re: Wrapping around a list Chris Angelico <rosuav@gmail.com> - 2013-11-27 22:14 +1100
Re: Wrapping around a list Amjad Syed <amjadcsu@gmail.com> - 2013-11-27 10:14 -0800
Re: Wrapping around a list Ned Batchelder <ned@nedbatchelder.com> - 2013-11-27 06:26 -0500
Re: Wrapping around a list Neil Cerutti <mr.cerutti@gmail.com> - 2013-11-27 08:33 -0500
Re: Wrapping around a list Peter Pearson <ppearson@nowhere.invalid> - 2013-11-27 17:42 +0000
Re: Wrapping around a list rusi <rustompmody@gmail.com> - 2013-11-27 08:12 -0800
csiph-web