On Sat, Feb 11, 2017 at 8:53 PM, boB Stepp wrote:
>
> I suspect Eryk had set a normal 's' as an identifier for the character
> code sequence that produces the non-ASCII output, but forgot to show
> us that step. But I could be mistaken.
Sorry, I forgot to show the
On Sat, Feb 11, 2017 at 7:08 PM, Steven D'Aprano wrote:
> On Sat, Feb 11, 2017 at 02:28:42PM -0600, boB Stepp wrote:
>
>> Back in the main Python list thread, Marko Rauhamaa suggested
>> (https://mail.python.org/pipermail/python-list/2017-February/719322.html):
>>
>> "
>> ...
On Sat, Feb 11, 2017 at 09:10:04AM -0800, Alex Kleider wrote:
> What your 's' represents seems quite different to 'mine.'
> There must be something else going on.
> ???
I think there's an easy explanation for that, which is that eryksun
probably just created a variable "s" but didn't show the
On Sat, Feb 11, 2017 at 02:28:42PM -0600, boB Stepp wrote:
> Back in the main Python list thread, Marko Rauhamaa suggested
> (https://mail.python.org/pipermail/python-list/2017-February/719322.html):
>
> "
> ...
> Haven't been following the discussion, but this should be simply:
>
>
On Sat, Feb 11, 2017 at 2:06 AM, Steven D'Aprano wrote:
> On Fri, Feb 10, 2017 at 07:59:04PM -0600, boB Stepp wrote:
>
>> He cannot figure out how to reliably tell if the user's input is an
>> integer, float or neither. So I thought I would come up with my
>> solution, which
On Sat, Feb 11, 2017 at 11:10 AM, Alex Kleider wrote:
> On 2017-02-11 00:36, eryk sun wrote:
>>
>> Note that Python 3 uses the Unicode database to determine the decimal
>> value of characters, if any. It's not limited to the ASCII decimal
>> digits 0-9. For example:
>>
>>
On Sat, Feb 11, 2017 at 11:10 AM, Alex Kleider wrote:
> Also of interest (at least to me) was the 'magic' you demonstrated in the
> print function parameter list; my efforts to figure it out:
Isn't this just argument unpacking? Thus the necessary "*".
word = "Hello"
On Fri, Feb 10, 2017 at 7:59 PM, boB Stepp wrote:
> I have been following the thread "int vs. float"
> (https://mail.python.org/pipermail/python-list/2017-February/719287.html)
> on the main list. A search for the OP on the Tutor archive came up
> negative, so I am hoping
On 2017-02-11 00:36, eryk sun wrote:
On Sat, Feb 11, 2017 at 8:06 AM, Steven D'Aprano
wrote:
Valid digits for integers include 0 through 9 in decimal
Note that Python 3 uses the Unicode database to determine the decimal
value of characters, if any. It's not limited to
On Sat, Feb 11, 2017 at 8:06 AM, Steven D'Aprano wrote:
> Valid digits for integers include 0 through 9 in decimal
Note that Python 3 uses the Unicode database to determine the decimal
value of characters, if any. It's not limited to the ASCII decimal
digits 0-9. For
On Fri, Feb 10, 2017 at 07:59:04PM -0600, boB Stepp wrote:
> He cannot figure out how to reliably tell if the user's input is an
> integer, float or neither. So I thought I would come up with my
> solution, which currently is:
>
> py3: def ck_input():
> ... value_to_ck = input('Enter a
I have been following the thread "int vs. float"
(https://mail.python.org/pipermail/python-list/2017-February/719287.html)
on the main list. A search for the OP on the Tutor archive came up
negative, so I am hoping he is not following Tutor tonight (Or anytime
prior to the due date for his
12 matches
Mail list logo