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


Groups > comp.lang.python > #94057

Re: Need assistance

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Need assistance
Date 2015-07-18 18:34 +0100
References (1 earlier) <moc7aa$geg$1@dont-email.me><55AA2BDE.6050605@web.de> <nulla.epistola@web.de> <55AA2BDE.6050605@web.de> <201507181216.t6ICGBrY022256@fido.openend.se> <oqukqah82spi2ab4r2u9g3v6o9jh62sjtb@4ax.com>
Newsgroups comp.lang.python
Message-ID <mailman.680.1437240865.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 18/07/2015 17:18, Dennis Lee Bieber wrote:
> On Sat, 18 Jul 2015 14:16:11 +0200, Laura Creighton <lac@openend.se>
> declaimed the following:
>
>> You don't have to index them.  You can unpack them into a tuple
>> of first, middle, last
>>
>> Laura  (who is trying not to do somebody's homework for them, since
>> I'm not the person who needs to learn this).
>
> 	That only works if the input IS three names (My Birth Certificate reads
> "Dennis Lee James Bieber"; and I often used to include my confirmation name
> into the thing; I've grown out of that phase but do still sometimes use
> dljjb as initials).

This https://www.python.org/dev/peps/pep-3132/ might be handy in this case.

>
> 	Simple .split() and a {HP calculator} roll operation should get the
> desired order.
>

What is an {HP calculator} roll operation?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

Need assistance craig.sirna@gmail.com - 2015-07-16 19:15 -0700
  Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-16 20:40 -0600
    Re: Need assistance craig.sirna@gmail.com - 2015-07-16 20:00 -0700
      RE: Need assistance "Joseph Lee" <joseph.lee22590@gmail.com> - 2015-07-16 20:12 -0700
  RE: Need assistance "Joseph Lee" <joseph.lee22590@gmail.com> - 2015-07-16 19:44 -0700
  Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-16 21:00 -0600
  Re: Need assistance Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-07-17 16:40 +0000
    Re: Need assistance Igor Korot <ikorot01@gmail.com> - 2015-07-17 12:54 -0400
    Re: Need assistance Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-17 20:00 +0100
  Re: Need assistance Denis McMahon <denismfmcmahon@gmail.com> - 2015-07-18 00:40 +0000
    Re: Need assistance Sibylle Koczian <nulla.epistola@web.de> - 2015-07-18 12:35 +0200
      Re: Need assistance Denis McMahon <denismfmcmahon@gmail.com> - 2015-07-19 00:59 +0000
        Re: Need assistance MRAB <python@mrabarnett.plus.com> - 2015-07-19 17:35 +0100
          flipping string order Denis McMahon <denismfmcmahon@gmail.com> - 2015-07-19 18:06 +0000
    Re: Need assistance Laura Creighton <lac@openend.se> - 2015-07-18 14:16 +0200
    RE: Need assistance "Joseph Lee" <joseph.lee22590@gmail.com> - 2015-07-18 09:05 -0700
    Re: Need assistance Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-18 12:18 -0400
    Re: Need assistance Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-18 18:34 +0100
      Re: Need assistance mm0fmf <none@mailinator.com> - 2015-07-18 19:51 +0100
        Re: Need assistance Joel Goldstick <joel.goldstick@gmail.com> - 2015-07-18 15:10 -0400
          Re: Need assistance mm0fmf <none@mailinator.com> - 2015-07-18 20:35 +0100
        Re: Need assistance Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-18 17:44 -0400
        Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-18 20:46 -0600
    Re: Need assistance Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-18 17:34 -0400
    Re: Need assistance William Ray Wing <wrw@mac.com> - 2015-07-18 14:28 -0400
    Re: Need assistance MRAB <python@mrabarnett.plus.com> - 2015-07-19 01:14 +0100
  Re: Need assistance craig.sirna@gmail.com - 2015-07-19 16:06 -0700
    Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-19 17:56 -0600
    Re: Need assistance Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-19 17:21 -0700
      Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-19 23:16 -0600
      Re: Need assistance Chris Angelico <rosuav@gmail.com> - 2015-07-20 15:25 +1000

csiph-web