On 6/11/19 8:01 AM, Barry Scott wrote:
On 1 Nov 2019, at 05:40, DL Neil via Python-list wrote:
Is the practice of TDD fundamentally, if not philosophically, somewhat contrary
to Python's EAFP approach?
The practice of TDD* is that one writes test routines to prove a unit of code,
eg method or
Apologies for lateness - stuff happened...
On 4/11/19 9:44 AM, Peter J. Holzer wrote:
On 2019-11-04 07:41:32 +1300, DL Neil via Python-list wrote:
On 3/11/19 6:30 AM, Bev In TX wrote:
On Nov 1, 2019, at 12:40 AM, DL Neil via Python-list
mailto:python-list@python.org>> wrote:
Is the practice
On Wed, Nov 13, 2019 at 11:00 AM Terry Reedy wrote:
>
> On 11/12/2019 12:00 PM, Chris Angelico wrote:
> > On Wed, Nov 13, 2019 at 3:57 AM Terry Reedy wrote:
> >>
> >> On 11/12/2019 8:29 AM, Chris Angelico wrote:
> >>
> >>> The OP said that the equals sign in the *first* line was flagged as
> >>>
On 11/12/2019 2:32 PM, originallmo...@gmail.com wrote:
I'm curious: I've been seeing people having multiple pygame programs open at
once (Where each one is a component of a main program, obviously).
Multiple programs open at once on modern machines is normal. Do you
mean multiple windows for
On 11/12/2019 12:00 PM, Chris Angelico wrote:
On Wed, Nov 13, 2019 at 3:57 AM Terry Reedy wrote:
On 11/12/2019 8:29 AM, Chris Angelico wrote:
The OP said that the equals sign in the *first* line was flagged as
invalid syntax. Implication being that the error is being reported on
the line "i
On 12/11/19 9:48 PM, joseph pareti wrote:
great, thank you so much for the advice. In fact, I sent this mail to
the python mailing list by mistake, but now I am glad I did ...
There's plenty of over-lap between lists - PyTutor is another.
Meantime I've received email from IBM about their ML/AI
On Tue, 12 Nov 2019 18:39:38 +, Rhodri James wrote:
> On 12/11/2019 18:25, Rob Gaddi wrote:
>> On 11/12/19 10:06 AM, Wildman wrote:
>>> What is the best approach for launching a Python GUI program
>>> on a Linux platform. The program will be distributed in .deb
>>> format. So the .deb will c
I'm curious: I've been seeing people having multiple pygame programs open at
once (Where each one is a component of a main program, obviously). If I'm
making a larger game, do I NEED to do that? I'm assuming I'd need a Visual
Studio extension for Python in order to do that.
--
https://mail.pyt
On 12/11/2019 18:25, Rob Gaddi wrote:
On 11/12/19 10:06 AM, Wildman wrote:
What is the best approach for launching a Python GUI program
on a Linux platform. The program will be distributed in .deb
format. So the .deb will contain a menu file as well as a
.desktop file. The post install script
On 11/12/19 10:06 AM, Wildman wrote:
What is the best approach for launching a Python GUI program
on a Linux platform. The program will be distributed in .deb
format. So the .deb will contain a menu file as well as a
.desktop file. The post install script will update the system
menu.
My quest
What is the best approach for launching a Python GUI program
on a Linux platform. The program will be distributed in .deb
format. So the .deb will contain a menu file as well as a
.desktop file. The post install script will update the system
menu.
My question is how should the program be execut
On Wed, Nov 13, 2019 at 3:57 AM Terry Reedy wrote:
>
> On 11/12/2019 8:29 AM, Chris Angelico wrote:
>
> > The OP said that the equals sign in the *first* line was flagged as
> > invalid syntax. Implication being that the error is being reported on
> > the line "i = 4", not on the print at the end.
On 11/12/2019 8:29 AM, Chris Angelico wrote:
The OP said that the equals sign in the *first* line was flagged as
invalid syntax. Implication being that the error is being reported on
the line "i = 4", not on the print at the end. And in fact, I can
confirm this. Run | Check Module reports an err
Hi All,
I have the below code.
X = df.iloc[:, [4, 403]].values
y = df.iloc[:, 404].values
Dummy Data looks like:
host Mnemonic
12.234.13.6 start
22.22.44.67 something
23.44.44.14 begin
When I define the X and Y values for prediction in the train and test data,
As always, keep your messages on the mailing list so others can benefit.
On 11/12/19 7:02 AM, Jack Gilbert wrote:
>
> . how do I get the PY program onto my desktop?
Not quite sure what you mean. Python programs are saved into text files
which you can store anywhere you want. Save them to the l
Rhodri James :
> On 11/11/2019 19:05, Bill Deegan wrote:
>> You could use SCons (native python... )
>
> I could. But I'd have to learn how to first, and particularly for
> complex cross-platform working that involves learning a lot of stuff I
> already know how to do in Make. The time investment
On Wed, Nov 13, 2019 at 12:29 AM Chris Angelico wrote:
> If it can find the position of the specific braced expression within
> the string, great! But at very least, it should report the location of
> the string in its original file.
Further to this: If a runtime (non-syntax) error occurs, it is
On Wed, Nov 13, 2019 at 12:14 AM Heinrich Kruger wrote:
>
> ‐‐‐ Original Message ‐‐‐
> On Tuesday, November 12, 2019 12:39 PM, Pieter van Oostrum
> wrote:
>
> > r...@zedat.fu-berlin.de">--protonsignature--...@zedat.fu-berlin.de (Stefan
> > Ram) writes:
> >
> > > When I enter
> > > i = 4
‐‐‐ Original Message ‐‐‐
On Tuesday, November 12, 2019 12:39 PM, Pieter van Oostrum
wrote:
> r...@zedat.fu-berlin.de">--protonsignature--...@zedat.fu-berlin.de (Stefan
> Ram) writes:
>
> > When I enter
> > i = 4
> > x = 2.3
> > s = 'abc'
> > print( f'{i=}' )
> > into a file window of ID
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> When I enter
>
> i = 4
> x = 2.3
> s = 'abc'
> print( f'{i=}' )
>
> into a file window of IDLE 3.7.0, it marks the '='
> sign in the /first/ line and says 'invalid syntax'.
>
> Remove the »f«, and the error will disappear.
I did this in IDL
On 11/11/2019 19:05, Bill Deegan wrote:
You could use SCons (native python... )
I could. But I'd have to learn how to first, and particularly for
complex cross-platform working that involves learning a lot of stuff I
already know how to do in Make. The time investment has never seemed
that
>> Someone requested my answer to the question: "Can we use Python for
>> hacking?"
> Sigh. I suppose it's a lost battle to reclaim that word.
So true. I still remember the ESR article that I used to share twenty
years ago.
--
Pankaj Jangid
--
https://mail.python.org/mailman/listinfo/python-
22 matches
Mail list logo