[Tutor] Impersonation

2019-07-15 Thread Jim
Mats, Hopefully you recognize my email address as someone you have given advice concerning Python. Over the last month or so I have received at least 3 emails supposedly coming from you that I am sure you did not send. The from line is: Mats Wichmann The body is: On Monday, July 15, 2019

Re: [Tutor] Lengthy copyright notices?

2019-07-15 Thread Alan Gauld via Tutor
On 15/07/2019 23:34, Mats Wichmann wrote: > Rule #1: it's all opinion in the end... ditto... > The common practice is that licence/copyright text is included as a > comment in the code, not in a docstring. I'd second that opinion. I don't like losing the copyright stuff to a separate file - too

Re: [Tutor] Reading .csv data vs. reading an array

2019-07-15 Thread Chip Wachob
Mats, Thank you! So I included the QUOTE_NONNUMERIC to my csv.reader() call and it almost worked. Now, how wonderful that the scope's csv file simply wrote an s for seconds and didn't include quotes. Now Python tells me it can't create a float of s. Of course I can't edit a 4G file in any edit

Re: [Tutor] Reading .csv data vs. reading an array

2019-07-15 Thread Alan Gauld via Tutor
On 15/07/2019 21:28, Mats Wichmann wrote: >> a float of s.  Of course I can't edit a 4G file in any editor that I >> have installed, so I have to work with the fact that there is a bit of >> text in there that isn't quoted. Try sed, it's on most Unix like OS. It doesn't read the entire file into

Re: [Tutor] Lengthy copyright notices?

2019-07-15 Thread David L Neil
On 16/07/19 10:34 AM, Mats Wichmann wrote: On 7/15/19 3:25 PM, James Hartley wrote: help(module_name) will place any text in the *first* module-level docstring into the description section of the help page in Python 3.4.5. Subsequent docstrings found at module level are ignored. I have been us

Re: [Tutor] Lengthy copyright notices?

2019-07-15 Thread Mats Wichmann
On 7/15/19 3:25 PM, James Hartley wrote: > help(module_name) will place any text in the *first* module-level docstring > into the description section of the help page in Python 3.4.5. Subsequent > docstrings found at module level are ignored. > > I have been using this factoid for placement of a

[Tutor] Lengthy copyright notices?

2019-07-15 Thread James Hartley
help(module_name) will place any text in the *first* module-level docstring into the description section of the help page in Python 3.4.5. Subsequent docstrings found at module level are ignored. I have been using this factoid for placement of a copyright & licensing notice. By placing a rather

Re: [Tutor] Reading .csv data vs. reading an array

2019-07-15 Thread Mats Wichmann
On 7/15/19 1:59 PM, Chip Wachob wrote: > Mats, > > Thank you! > > So I included the QUOTE_NONNUMERIC to my csv.reader() call and it almost > worked. > > Now, how wonderful that the scope's csv file simply wrote an s for > seconds and didn't include quotes.  Now Python tells me it can't create >

Re: [Tutor] Reading .csv data vs. reading an array

2019-07-15 Thread Chip Wachob
Oscar and Mats, Thank you for your comments and taking time to look at the snips. Yes, I think I had commented that the avg+trigger was = triggervolts in my original post. I did find that there was an intermediary process which I had forgotten to comment out that was adversely affecting the data

Re: [Tutor] Reading .csv data vs. reading an array

2019-07-15 Thread Mats Wichmann
On 7/15/19 12:35 PM, Chip Wachob wrote: > Oscar and Mats, > > Thank you for your comments and taking time to look at the snips. > > Yes, I think I had commented that the avg+trigger was = triggervolts in > my original post. > > I did find that there was an intermediary process which I had forgot

[Tutor] Fwd: RE: pointers or references to variables or sub-sets of variables query.

2019-07-15 Thread Alan Gauld via Tutor
Forwarding to list Forwarded Message Subject:RE: [Tutor] pointers or references to variables or sub-sets of variables query. Date: Mon, 15 Jul 2019 17:13:23 +1000 From: mhysnm1...@gmail.com To: 'Alan Gauld' All, Sorry for the late response. I have moved

Re: [Tutor] Web framework module for Python.

2019-07-15 Thread Alan Gauld via Tutor
On 15/07/2019 07:56, mhysnm1...@gmail.com wrote: > like apache. If there is a simple python module that can run a web server, > this would be great. If there is a python module that can assist in building > the HTMl, this would be great as well. I am not sure how to link python and > the web HTML

Re: [Tutor] Blockchain Dev with Python SDK

2019-07-15 Thread mhysnm1964
Matt, I would suggest you look at the links in the signature for this mailer for some good tutorials on OOPS. Datacamp also has some good tutorials. -Original Message- From: Tutor On Behalf Of Matthew Zand Sent: Monday, 15 July 2019 1:54 AM To: Tutor@python.org Subject: [Tutor] Blockchai

[Tutor] Web framework module for Python.

2019-07-15 Thread mhysnm1964
All, I am currently not sure where to start with my query. I have a SQLite3 database which currently is being accessed by python code. I am seeking a simple python module which would support a local web app in order to update and insert rows, and run reports . This web app I am creating