Re: Question about slight deviations when using integer division with large integers.

2018-12-30 Thread Ian Kelly
On Sun, Dec 30, 2018 at 10:18 PM Christian Seberino wrote: > > What is simplest way to make both those > prints give same values? Any slicker way > than an if statement? Stack Overflow has a few suggestions: https://stackoverflow.com/questions/19919387/in-python-what-is-a-good-way-to-round-towar

Re: Question about slight deviations when using integer division with large integers.

2018-12-30 Thread Chris Angelico
On Mon, Dec 31, 2018 at 6:36 PM Ian Kelly wrote: > > The Google group has an initial post in this thread that didn't make it > through to the mailing list for whatever reason. For posterity, here > it is: Thanks Ian. > > Why are the following two similar prints slightly different and how fix? >

Re: Question about slight deviations when using integer division with large integers.

2018-12-30 Thread Ian Kelly
On Sun, Dec 30, 2018 at 10:27 PM Cameron Simpson wrote: > > On 30Dec2018 21:14, Christian Seberino wrote: > >What is simplest way to make both those > >prints give same values? Any slicker way > >than an if statement? > > If your post had an attachment, be aware that the python-list list drops >

Error while calling a subprocess and execute another script from one py file

2018-12-30 Thread sandeep . bayi6
Hi all, == Error code : -- Traceback (most recent call last): File "E:\ocius_tjb\run.py", line 163, in subprocess.check_call(['C:/Python34/python.

Re: Facing an Error after migrating from python 3.4.1 to python 3.6.6 ( Failed to import the site module )

2018-12-30 Thread sandeep . bayi6
On Friday, December 28, 2018 at 5:41:52 PM UTC+5:30, Piet van Oostrum wrote: > sandeep.ba...@gmail.com writes: > > > ``` > > Error code: > > -- > > > >

Re: Question about slight deviations when using integer division with large integers.

2018-12-30 Thread Cameron Simpson
On 30Dec2018 21:14, Christian Seberino wrote: What is simplest way to make both those prints give same values? Any slicker way than an if statement? If your post had an attachment, be aware that the python-list list drops all attachments - it is a text only list. Please paste your code dire

Re: Question about slight deviations when using integer division with large integers.

2018-12-30 Thread Christian Seberino
What is simplest way to make both those prints give same values? Any slicker way than an if statement? -- https://mail.python.org/mailman/listinfo/python-list

Re: Question about slight deviations when using integer division with large integers.

2018-12-30 Thread Chris Angelico
On Mon, Dec 31, 2018 at 1:56 PM Christian Seberino wrote: > > Perhaps the "secret" is *not* do integer division with negative numbers? I have no idea what you're replying to, but integer division with negative numbers IS well defined. Python will floor - it will always round down. ChrisA -- htt

Re: Question about slight deviations when using integer division with large integers.

2018-12-30 Thread Christian Seberino
Perhaps the "secret" is *not* do integer division with negative numbers? -- https://mail.python.org/mailman/listinfo/python-list

Slack NLP : open source project

2018-12-30 Thread bhagvanarch
If you would like to join the slack NLP project, please share your github id to email address is bhagv...@quanticacomputacao.com or bhagv...@gmail.com. Slack NLP github repository https://github.com/bhagvank/slacknlp Slack channel http://goo.gl/BMGHjr Telegram group https://t.me/joincha