On Fri, 31 Aug 2018 18:45:16 +1200, Gregory Ewing wrote:
> Steven D'Aprano wrote:
>> The right way is to
>> set the rounding mode at the start of your application, and then let
>> the Decimal type round each calculation that needs rounding.
>
> It's not clear what you mean by "rounding mode" here
Hello! I’m not sure if this is the right forum, but I am looking for someone
proficient in Python software to update a website.
I will pay well, and work in the Kansas City area. If this is not the correct
way to find someone who can help, do you have any contacts in the Kansas City
area who c
On 31Aug2018 21:44, Marko Rauhamaa wrote:
Malcolm Greene :
Is there a benefit to using one of these techniques over the other?
Is one approach more Pythonic and preferred over the other for
style reasons?
message = message.encode('UTF-8')
message = bytes(message, 'UTF-8')
I always use the for
Thanks for the replies! I'm going to investigate the use of python-gnupg [1]
which is a Python wrapper for the GPG command line utility. This library is
based on gpg.py written by Andrew Kuchling. I'm all ears if f anyone has any
alternative recommendations or python-gnupg tips to share. BTW:
Malcolm Greene :
> Is there a benefit to using one of these techniques over the other?
> Is one approach more Pythonic and preferred over the other for
> style reasons?
> message = message.encode('UTF-8')
> message = bytes(message, 'UTF-8')
I always use the former. I wonder why that is. I guess th
On 2018-08-29 16:02, Thomas Jollans wrote:
> On 08/29/2018 09:05 PM, Michael F. Stemper wrote:
>>> Also, PLEASE use Python 3. Still using Python 2 today is like still
>>> using Windows XP in early 2013.
>> I'm using the default version for the current release of my
>> OS (Ubuntu 16.04 LTS):
>> My
On Fri, 31 Aug 2018 08:36:52 -0600, Malcolm Greene wrote:
> I have use case where I need to distribute binary files to customers and
> want to provide a way for our customers to verify the
> "integrity/lineage" (I know there's a better description, but can't
> think of it) of these files, eg. to g
Hi all,
This is a set of training materials I used to successfully teach Python to kids
as little as 10 years old. It was a success because the kids didn't just finish
the course, they independently completed most of the coding challenges by
applying the knowledge they had learned.
The first f
Is there a benefit to using one of these techniques over the other?
Is one approach more Pythonic and preferred over the other for
style reasons?
message = message.encode('UTF-8')
message = bytes(message, 'UTF-8')
Thank you,
Malcolm
--
https://mail.python.org/mailman/listinfo/python-list
On 2018-08-31 16:36, Malcolm Greene wrote:
> I have use case where I need to distribute binary files to customers and
> want to provide a way for our customers to verify the
> "integrity/lineage" (I know there's a better description, but can't
> think of it) of these files, eg. to give them the con
I have use case where I need to distribute binary files to customers and
want to provide a way for our customers to verify the
"integrity/lineage" (I know there's a better description, but can't
think of it) of these files, eg. to give them the confidence that the
files in question are from me and
On 2018-08-31, Terry Reedy wrote:
> That said, some people will continue to use existing python 2 code for a
> decade or more.
People like me. I do a lot of serial and network protocol handling in
Python, and the changes to the handling of bytes vs. strings in Python
3 means that sort of thing
We are pleased to announce the second batch of cut videos from
EuroPython 2018 in Edinburgh, Scotland, UK.
* EuroPython 2018 YouTube Playlist *
https://www.youtube.com/watch?v=scum5a_mqBc&t=0s&index=84&list=PL8uoeex94UhFrNUV2m5MigREebUms39U5
In this batch, we have included all
On 31/08/18 06:33, Stone Zhong wrote:
On Thursday, August 30, 2018 at 10:19:34 PM UTC-7, Terry Reedy wrote:
On 8/30/2018 10:27 PM, Stone Zhong wrote:
Hi there,
I think the fact is:
- There are still considerable amount of people still using python2
- Python2 user will eventually upgrade to pyt
On 31/08/18 04:27, Stone Zhong wrote:
Hi there,
I think the fact is:
- There are still considerable amount of people still using python2
- Python2 user will eventually upgrade to python3
So any library not written in a compatible way will either break now for
python2 user, or will break in the
15 matches
Mail list logo