Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #87223 > unrolled thread
| Started by | Albert-Jan Roskam <fomcl@yahoo.com> |
|---|---|
| First post | 2015-03-09 19:58 +0000 |
| Last post | 2015-03-09 19:58 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: HELP!! How to ask a girl out with a simple witty Python code?? Albert-Jan Roskam <fomcl@yahoo.com> - 2015-03-09 19:58 +0000
| From | Albert-Jan Roskam <fomcl@yahoo.com> |
|---|---|
| Date | 2015-03-09 19:58 +0000 |
| Subject | Re: HELP!! How to ask a girl out with a simple witty Python code?? |
| Message-ID | <mailman.226.1425931510.21433.python-list@python.org> |
----- Original Message -----
> From: Jonas Wielicki <jonas@wielicki.name>
> To: python-list@python.org
> Cc:
> Sent: Monday, March 9, 2015 8:12 PM
> Subject: Re: HELP!! How to ask a girl out with a simple witty Python code??
>
> On 09.03.2015 14:39, Omar Abou Mrad wrote:
>> On Thu, Mar 5, 2015 at 3:34 AM, Xrrific <xiaokun3@gmail.com> wrote:
>>
>>> Guys, please Help!!!
>>>
>>> I am trying to impress a girl who is learning python and want ask her
> out
>>> at the same time.
>>>
>>> Could you please come up with something witty incorporating a simple
>>> python line like If...then... but..etc.
>>>
>>> You will make me a very happy man!!!
>>>
>>> Thank you very much!!!
>>> --
>>> https://mail.python.org/mailman/listinfo/python-list
>>>
>>
>>>>> print "Svar lbh jva! V'yy cvpx lbh hc gbzbeebj ng 7
> :)".decode('rot13')
>
> That won’t work if she’s actually smart. I mean, that’s python2. ;-)
Yeah you need from __future__ and codecs to also make it work in Python 3. But then, Python 3 does, alas, not accept rot13 in the shebang
# -*- coding: rot13 -*-
sebz __shgher__ vzcbeg cevag_shapgvba
vzcbeg pbqrpf
cevag(pbqrpf.qrpbqr("Svar lbh jva! V'yy cvpx lbh hc gbzbeebj ng 7 :)", "rot13"))
Back to top | Article view | comp.lang.python
csiph-web