Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3729
| From | Dan M <catdude@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: mystery string code - help! |
| Date | 2011-04-20 17:01 +0000 |
| Message-ID | <918hs2F7m3U2@mid.individual.net> (permalink) |
| References | <801e7013-ac1f-4b77-9783-dfdfd5b86149@cu4g2000vbb.googlegroups.com> |
> As a newbie Pythoner, I understand [] -1] but would some tell me how > '::' does its magic? > > Uncle Ben The -1 is the "stride" or "step" argument. It's described at http://docs.python.org/release/2.3.5/whatsnew/section-slices.html Dan
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
mystery string code - help! Uncle Ben <ben@greenba.com> - 2011-04-20 09:48 -0700
Re: mystery string code - help! Dan M <catdude@gmail.com> - 2011-04-20 17:01 +0000
Re: mystery string code - help! Uncle Ben <ben@greenba.com> - 2011-04-20 17:58 -0700
csiph-web