Re: Is there anything in the script which could cause it to not run its full course please?

2020-05-05 Thread Cameron Simpson
On 04May2020 17:17, ozst...@gmail.com wrote: On Tuesday, 5 May 2020 01:35:42 UTC+10, David Raymond wrote: Not necessarily the cause of your problem, but if you're going to compare dates it should be as objects, or as text as year-month-day. Here you're comparing dates as text in day-month-ye

Special issue on Recent Advances in Autonomous Vehicle Solutions in the Digital Continuum

2020-05-05 Thread SP
Special issue on Recent Advances in Autonomous Vehicle Solutions in the Digital Continuum Computing Journal, Springer Nature https://www.springer.com/journal/607/updates/17917580 SCOPE The domain of autonomous vehicle computing systems is changing rapidly under the pressure of an intense comp

Re: Multiprocessing vs. concurrent.futures, Linux vs. Windows

2020-05-05 Thread Terry Reedy
On 5/4/2020 9:05 PM, John Ladasky wrote: On Monday, May 4, 2020 at 4:09:53 PM UTC-7, Terry Reedy wrote: [snip] Hi Terry, Thanks for your reply. I have been hacking at this for a few hours. I have learned two things: 1. Windows hangs unless you explicitly pass any references you want to us

Python Installation Problem

2020-05-05 Thread Adolf Yoshua Marbun
Dear Python, I am currently learning about Python. First thing first, I need to install the interpreter Python 3.8.2 before I get to the IDE. But, I have problem during running command. The installation was successful. When I try to run the command prompt, typing "python --version", it always sho

Feature request: method to cancel or bail out from fileinput.input(inplace=True)

2020-05-05 Thread Sparr Risher
After using https://docs.python.org/3/library/fileinput.html to open a file for inplace filtering, a backup is created before output is redirected to the new file. It is possible, but non-trivial and non-obvious, to bail out of this situation, putting the backed up file back in place and ending

The '-c' CLI option removes just the command str.

2020-05-05 Thread Simon Forman via Python-list
Is this anything? When you run a python command from the shell to just print the command line args you get this: $ python -c "import sys; print(sys.argv)" ['-c'] But I would expect one of these: Either the '-c' option consumes both args: $ python -c "import sys; print(sys.argv)"

Re: Python Installation Problem

2020-05-05 Thread Rhodri James
On 05/05/2020 05:34, Adolf Yoshua Marbun wrote: Dear Python, I am currently learning about Python. First thing first, I need to install the interpreter Python 3.8.2 before I get to the IDE. But, I have problem during running command. The installation was successful. When I try to run the comman

Re: Python Installation Problem

2020-05-05 Thread MRAB
On 2020-05-05 23:20, Rhodri James wrote: On 05/05/2020 05:34, Adolf Yoshua Marbun wrote: Dear Python, I am currently learning about Python. First thing first, I need to install the interpreter Python 3.8.2 before I get to the IDE. But, I have problem during running command. The installation wa

Re: print() ignores context ?

2020-05-05 Thread Greg Ewing
On 1/05/20 8:33 pm, R.Wieser wrote: getcontext().rounding=ROUND_HALF_UP print(round(1.5)) print(round(2.5)) If you're talking about getcontext() from the decimal module, that only affects operations with Decimals, not regular floats. Python doesn't provide a way to change the rounding mode fo

Re: Python Installation Problem

2020-05-05 Thread Souvik Dutta
Have you added python to path? If not then you will have to do it. Souvik flutter dev On Wed, May 6, 2020, 1:28 AM Adolf Yoshua Marbun wrote: > Dear Python, > > I am currently learning about Python. First thing first, I need to install > the interpreter Python 3.8.2 before I get to the IDE. But

Re: Python Installation Problem

2020-05-05 Thread Adolf Yoshua Marbun
Yes, I did. I did this before the installation began, checked the "add to PATH" option. On Wed, May 6, 2020 at 9:17 AM Souvik Dutta wrote: > Have you added python to path? If not then you will have to do it. > > Souvik flutter dev > > On Wed, May 6, 2020, 1:28 AM Adolf Yoshua Marbun < > adolfbor

Re: Python Installation Problem

2020-05-05 Thread Souvik Dutta
What is the error can you copy and paste? Because this list does not support attachment. Souvik flutter dev On Wed, May 6, 2020, 7:49 AM Adolf Yoshua Marbun wrote: > Yes, I did. I did this before the installation began, checked the "add to > PATH" option. > > On Wed, May 6, 2020 at 9:17 AM Souv

Re: [ANN] Python Brain Teasers Book is Out

2020-05-05 Thread Miki Tebeka
Hi, > Would be grateful if you could post it to python-authors also: > https://mail.python.org/mailman/listinfo/python-authors Done. Though list seems very dormant. Thanks, Miki -- https://mail.python.org/mailman/listinfo/python-list

Re: [ANN] Python Brain Teasers Book is Out

2020-05-05 Thread Abdur-Rahmaan Janhangeer
Thanks a lot! The list is very dormant and we have begun working to make the list beneficial for the community. It is supposed to be a resource place for Python literature advice, from blog posts to books writing. I have also removed your moderate flag so that your future messages won't be held.

Re: compiling 3.7.0 from source with custom libffi path

2020-05-05 Thread yuri . yudhaswana
Hi, I dont have "lib64" in libffi, are you sure it is "lib64" or just "lib"? On Monday, 1 July 2019 21:32:46 UTC+9, tom...@gmail.com wrote: > On Monday, September 24, 2018 at 11:48:59 AM UTC+3, Fetchinson . wrote: > > I'm trying to compile python 3.7.0 from source with a custom libffi > > path an