OT Re: Your IDE's?

2019-03-26 Thread DL Neil
Those of delicate disposition should look away now... The invention is not mine: aside from his name, have a look at the OP's purported email address, and his requested ReplyTo: address. Then check the veracity of those domainNMs... I only rarely do so as I can usually detect such from the pu

Re: configparser - which one?

2019-03-26 Thread Terry Reedy
On 3/25/2019 8:10 PM, Dave wrote: I use Python3 3, and expected learning how to use configparser would be no big deal.  Well!  Seems there is configparser, stdconfigparser, and configparser is what IDLE uses. I would read the extra or deleted features of the others and see if they apply to y

[RELEASE] Python 3.8.0a3 is now available for testing

2019-03-26 Thread Łukasz Langa
It's time for the third alpha of Python 3.8.0. Go get it here: https://www.python.org/downloads/release/python-380a3/ Python 3.8.0a3 is the third of four planned alpha releases of Python 3.8, the next feature release of Python. During the alpha phase, Python 3.8 remains under heavy development: a

Re: Your IDE's?

2019-03-26 Thread Tim Chase
On 2019-03-25 21:38, John Doe wrote: > What is your favorite Python IDE? Unix. https://sanctum.geek.nz/arabesque/series/unix-as-ide/ Namely $EDITOR (for some value of ed/vi/vim), a shell (usually bash, ksh, or /bin/sh), a VCS (usually git, subversion, rcs, or fossil, though sometimes CVS or Merc

Text Similarity/Comparison Question

2019-03-26 Thread David Lynch via Python-list
Hello. I am working on a project where one system (System A) contains seven text fields (unstructured data for comments). I have concatenated all of the fields into a single field. There is a second system (System B) containing two unstructured fields that capture text comments. I have concate

How to store scores of a race's players

2019-03-26 Thread ^Bart
Hello! I need to store scores of three players for more than a race, after every race the user will read "Is the competition finished?", if the competition if finished the user will see the winner who got higest score: p1 = int (input ("Insert score of the first player: ")) p2 = int (input ("

Re: configparser - which one?

2019-03-26 Thread Dave
On 3/26/19 4:29 AM, Terry Reedy wrote: On 3/25/2019 8:10 PM, Dave wrote: I use Python3 3, and expected learning how to use configparser would be no big deal.  Well!  Seems there is configparser, stdconfigparser, and configparser is what IDLE uses.  I would read the extra or deleted features

Re: How to store scores of a race's players

2019-03-26 Thread Bob Gailer
On Mar 26, 2019 6:55 AM, "^Bart" wrote: > > Hello! > > I need to store scores of three players for more than a race, after every race the user will read "Is the competition finished?", if the competition if finished the user will see the winner who got higest score: > Thank you for reaching out to

Re: configparser - which one?

2019-03-26 Thread Jon Ribbens
On 2019-03-26, DL Neil wrote: > On 26/03/19 1:10 PM, Dave wrote: >> I use Python3 3, and expected learning how to use configparser would be >> no big deal.  Well!  Seems there is configparser, stdconfigparser, and >> safeconfigparser, and multiple ways to set the section and entries to >> the s

Re: configparser - which one?

2019-03-26 Thread Grant Edwards
On 2019-03-26, Cameron Simpson wrote: > Like JSON, YAML etc are far far easier than XML for the reader. If "far far easier than XML for the reader" is the bar, then we'll have to keep "nailgun to the eyeballs" on the list... That said, I agree with the rest of Cameron's post: for simpler stuff

Re: How to store scores of a race's players

2019-03-26 Thread Bob Gailer
Please do not use a mangled return email address. It causes us a lot of pain when we fail to read your address to fix it and get the message bounced back. The only reason I'm even bothering to resend it is because I put a lot of work into it.: > On > Mar 26, 2019 6:55 AM, "^Bart" wrote: > > > > He

Re: mocking for get method in requests

2019-03-26 Thread Toni Sissala
On 18.1.2019 19:16, Shakti Kumar wrote: Hello people, I noticed something weird (weird as per my current knowledge, though I know its subjective) today. Hi Kumar, mock_req.get('').return_value = 'Hello' Here you are calling mock_req -MagicMocks get-method with parameter '' and assigning '

Re: The Mailing List Digest Project

2019-03-26 Thread Abdur-Rahmaan Janhangeer
Great! will see sphinx but if i find the html hard to customise, i'll drop it. Search feature and tags coming. also, currently i'm formatting the mails rather than an article, i don't know if a real summary of the topic preferable ... Abdur-Rahmaan Janhangeer Mauritius -- https://mail.python.or

Re: The Mailing List Digest Project

2019-03-26 Thread Christopher Barker
On Mon, Mar 25, 2019 at 10:01 PM Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> wrote: > As proposed on python-ideas, i setup a repo to turn mail threads into > articles. > Thanks for doing this — I find myself frequently telling people about past relevant threads on this list - it will be grea

Re: configparser - which one?

2019-03-26 Thread dboland9
Thanks Cameron. Dave, March 26, 2019 12:39 AM, "Cameron Simpson" wrote: > On 25Mar2019 23:24, Dave wrote: > >> On 3/25/19 10:58 PM, DL Neil wrote: >>> On 26/03/19 1:10 PM, Dave wrote: >> >> I use Python3 3, and expected learning how to use configparser >>>would be >> no big deal. Well! >>

Re: configparser - which one?

2019-03-26 Thread DL Neil
On 27/03/19 2:44 AM, Grant Edwards wrote: On 2019-03-26, Cameron Simpson wrote: Like JSON, YAML etc are far far easier than XML for the reader. If "far far easier than XML for the reader" is the bar, then we'll have to keep "nailgun to the eyeballs" on the list... That said, I agree with th

Creating LF, NEL line terminators by accident? (python3)

2019-03-26 Thread Adam Funk
Hi, I have a Python 3 (using 3.6.7) program that reads a TSV file, does some churning with the data, and writes a TSV file out. #v+ print('reading', options.input_file) with open(options.input_file, 'r', encoding='utf-8-sig') as f: for line in f.readlines(): row = line.split('\t')

Re: Creating LF, NEL line terminators by accident? (python3)

2019-03-26 Thread MRAB
On 2019-03-26 19:55, Adam Funk wrote: Hi, I have a Python 3 (using 3.6.7) program that reads a TSV file, does some churning with the data, and writes a TSV file out. #v+ print('reading', options.input_file) with open(options.input_file, 'r', encoding='utf-8-sig') as f: for line in f.readli

Managing pipenv virtualenvs

2019-03-26 Thread Tim Johnson
I'm on ubuntu 16.04 using pipenv for the "Django for Beginners..." tutorial book. each chapter instructs me to create a new virtual environment with a folder under ~/.local/share/virtualenvs folders are named with the project name followed by an hyphen and a brief codified string. examples hell

Re: Managing pipenv virtualenvs

2019-03-26 Thread Test Bot
Nothing much i think. If you are properly managing dependencies for each venv, then each new venv should have the same state as the previous one along with some extra dependencies for each new chapter (haven't gone through the specific book, but I am assuming that in the book, every chapter builds

Re: Your IDE's?

2019-03-26 Thread Cameron Simpson
On 25Mar2019 21:47, Tim Chase wrote: On 2019-03-25 21:38, John Doe wrote: What is your favorite Python IDE? Unix. https://sanctum.geek.nz/arabesque/series/unix-as-ide/ Namely $EDITOR (for some value of ed/vi/vim), a shell (usually bash, ksh, or /bin/sh), a VCS (usually git, subversion, rcs,

Re: Managing pipenv virtualenvs

2019-03-26 Thread Tim Johnson
* Test Bot [190326 14:18]: > Nothing much i think. If you are properly managing dependencies for each > venv, then each new venv should have the same state as the previous one Good to hear > along with some extra dependencies for each new chapter (haven't gone > through the specific book, b

Re: Your IDE's?

2019-03-26 Thread Rich Shepard
On 2019-03-25 21:38, John Doe wrote: What is your favorite Python IDE? Emacs on Slackware. Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Managing pipenv virtualenvs

2019-03-26 Thread Test Bot
If the chapters are not contiguous then I can't find a reason to delete them (previous venv). Moreover it would be better practice to keep separate venv and not to use a single venv for multiple codebase. Highly discouraged should be to use the systemwide interpreter. Moreover the whole idea of us

Re: Managing pipenv virtualenvs

2019-03-26 Thread Tim Johnson
* Test Bot [190326 15:44]: > If the chapters are not contiguous then I can't find a reason to delete > them (previous venv). Moreover it would be better practice to keep separate > venv and not to use a single venv for multiple codebase. Highly discouraged > should be to use the systemwide interpr

SCons 3.0.5 Released

2019-03-26 Thread Bill Deegan
A new SCons release, 3.0.5, is now available on the SCons download page: https://scons.org/pages/download.html And via pypi: pip install scons SCons is a tool for building software (and other files). SCons is implemented in Python, and its "configuration files" are actually Pyth

Re: Your IDE's?

2019-03-26 Thread Tim Johnson
* Rich Shepard [190326 15:19]: > On 2019-03-25 21:38, John Doe wrote: > > > What is your favorite Python IDE? > > Emacs on Slackware. I'm an old Slacker, but got lazy and even older, so now use ubuntu. I also use emacs to which I have added evil and elpy; and further customized with

Re: The Mailing List Digest Project

2019-03-26 Thread Christopher Barker
On Tue, Mar 26, 2019 at 8:32 AM Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> wrote: > Great! will see sphinx but if i find the html hard to customise, i'll drop > it. > Sphinx has theming support, plus you can do custom CSS if you want. But Highly discourage you from worrying about formattin

Re: The Mailing List Digest Project

2019-03-26 Thread Abdur-Rahmaan Janhangeer
#agree -- https://mail.python.org/mailman/listinfo/python-list