Re: [Tutor] Training, Was: Basic Question about Visualization for enduser

2019-06-25 Thread Alan Gauld via Tutor
Caveat: This is a long term bug bear of mine and I spent many, many hours over the last 20 years in discussion with our local universities discussing how software-engineering training could be made more relevant to the real world. I'll try to keep it focused :-) On 25/06/2019 21:00, David L Neil w

[Tutor] Was: Basic Question about Visualization for enduser

2019-06-25 Thread David L Neil
On 26/06/19 4:56 AM, Alan Gauld via Tutor wrote: On 25/06/2019 15:52, Sinardy Xing wrote: My question is, how currently all of this great technology glue together and as a final product for the enduser. Because I cant imagine that we install Anaconda Jupyter Notebook at frontend for the enduser

Re: [Tutor] Python Imported Code

2019-06-25 Thread Alan Gauld via Tutor
On 25/06/2019 14:50, stephen.m.sm...@comcast.net wrote: > using global, but that fails. I also can't seem to use arguments because the > module that tkinter fires up with this command: > > self.process_button = tk.Button(master, text='Process Request', \ >

Re: [Tutor] Basic Question about Visualization for enduser

2019-06-25 Thread Alan Gauld via Tutor
On 25/06/2019 15:52, Sinardy Xing wrote: > My question is, how currently all of this great technology glue together > and as a final product for the enduser. Because I cant imagine that we > install Anaconda Jupyter Notebook at frontend for the enduser to use it, > and give end user bunch of *.py

Re: [Tutor] tree or link-list questions.

2019-06-25 Thread Alan Gauld via Tutor
On 25/06/2019 13:24, mhysnm1...@gmail.com wrote: ... the tree I am trying to create is: > > * A single root node > * A node can only have a single parent. > * A parent can have multiple children. > * Each node is unique. A tree with multiple children (where multiple is more than 2

[Tutor] Python Imported Code

2019-06-25 Thread stephen.m.smith
Introduction: I have written a 'program' that does some reasonable screen scraping off of a specific website. The program has gotten too large so I have tried to segment it into logical pieces (tkinter logic as a start) but I am having problems. Specifically I need to pass several dictionaries to

Re: [Tutor] Basic Question about Visualization for enduser

2019-06-25 Thread Sinardy Xing
Hi Mats, Thanks for the reply. I am so sorry the question was not clear. I was rushing home when composing the question. I have learned python and a little about the pandas lib also the visualization lib such as maplotlib, I also learn on how to generate the output (thanks again for that example

Re: [Tutor] tree or link-list questions.

2019-06-25 Thread Alan Gauld via Tutor
On 25/06/2019 13:24, mhysnm1...@gmail.com wrote: A much less open ended question :-) > class Node: > > def __init__(self, name, value): > self.parent = None > self.child = [] This should be plural if its a list. So call it children... However I'm not really sure it should b

Re: [Tutor] Basic Question about Visualization for enduser

2019-06-25 Thread Alan Gauld via Tutor
On 25/06/2019 13:39, Sinardy Xing wrote: > All of the example that I learned from internet currently are using the > Anaconda Jupyter Notebook. > I know there are API where we can output the result of the graph to png, > will that be possible all these done automatically and dynamically via an > a

Re: [Tutor] Basic Question about Visualization for enduser

2019-06-25 Thread Mats Wichmann
On 6/25/19 6:39 AM, Sinardy Xing wrote: > Hi, > > I am a newbie with python and the data visualization. > I have completed pandas.DataFrame stuff and also the matplotlib. > > All of the example that I learned from internet currently are using the > Anaconda Jupyter Notebook. > I know there are AP

Re: [Tutor] python

2019-06-25 Thread Bob Gailer
On Jun 25, 2019 8:52 AM, "Shaon Debnath" wrote: > > I just wanted to know all about map() function in python. See https://www.geeksforgeeks.org/python-map-function/. If after reading that you still have questions please come back and ask them. Bob Gailer

[Tutor] python

2019-06-25 Thread Shaon Debnath
I just wanted to know all about map() function in python. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

[Tutor] Basic Question about Visualization for enduser

2019-06-25 Thread Sinardy Xing
Hi, I am a newbie with python and the data visualization. I have completed pandas.DataFrame stuff and also the matplotlib. All of the example that I learned from internet currently are using the Anaconda Jupyter Notebook. I know there are API where we can output the result of the graph to png, wi

[Tutor] tree or link-list questions.

2019-06-25 Thread mhysnm1964
All, Windows 10, python 3.6. I am trying to create a data structure. I might be using the wrong term here, but I am calling it a hierarchical tree. The properties of the tree I am trying to create is: * A single root node * A node can only have a single parent. * A pare

Re: [Tutor] replacing a loop

2019-06-25 Thread Alan Gauld via Tutor
On 24/06/2019 17:15, johnf wrote: > def locChoices(self): >     locDS = self.eslocation.getDataSet() >     loc_Choices=[''] >     locKeys=[0] >     for row in locDS: >     loc_Choices.append(row['facility']) >     locKeys.append(row['pkid']) > > retu