Hello All,
I am back!!! I forget which movie that comes from.
Anyway, my issue is I am getting the same node being added to the parent node
of my tree below. I have traced the code and do not understand why. This occurs
when the loop which calls the addNode function has only looped once.
On 28/06/2019 06:24, Mayo Adams wrote:
> What are these environment variables, exactly, and why is it necessary to
> set them?
When you run a program under an operating system the OS sets up an
"environment" (or context) for the program to run in. (This
includes the OS shell that the user intera
On 28/06/2019 07:10, mhysnm1...@gmail.com wrote:
>
> Anyway, my issue is I am getting the same node being added to the parent node
> of my tree below.
I'm not sure about that part but
> def addNode(words, tree):
> if words:
> wordExists = False
> for child in tree.child
On 28Jun2019 09:34, Alan Gauld wrote:
Environment variable have fallen out of favour for user settings
and config files are now preferred. But some things are a bit
easier via en environment variable - especially where you spawn
new sub-processes and don't want the sub-process to have
to re-read
On 6/27/19 11:24 PM, Mayo Adams wrote:
> I have for some time been flummoxed as to the significance of setting
> environment variables, for example in order to run a Flask application.
> What are these environment variables, exactly, and why is it necessary to
> set them? "Googling" here simply lea
On 6/28/19 12:10 AM, mhysnm1...@gmail.com wrote:
> class Node(object):
>
> # I am not 100% sure the purpose of (object) does.
as to this bit: having your class inherit from object means it's a
"new-style class". That's only significant if you're writing code that
is expected to run under Pytho
Many thanks to some very bright and helpful gentlemen.
On Fri, Jun 28, 2019 at 9:24 AM Mats Wichmann wrote:
> On 6/27/19 11:24 PM, Mayo Adams wrote:
> > I have for some time been flummoxed as to the significance of setting
> > environment variables, for example in order to run a Flask applicatio
Ooops, forgot to 'reply all'
-- Forwarded message --
From: Albert-Jan Roskam
Date: 28 Jun 2019 21:31
Subject: Re: [Tutor] Unexpected result when running flask application.
To: Cameron Simpson
Cc:
On 20 Jun 2019 00:56, Cameron Simpson wrote:
On 19Jun2019 09:54, Alan Gauld wro
Hi Looking for a way to use the determine the position of a card in a grid
using the mouse click event in Python. Code is attached.
Unfortunately using Tinkter grids / frames can't determine between the two
demo cards.
The Relevant code is below
def showCardInitial(cardList):
cardsToPlay = [