Re: [Tutor] look back comprehensively

2018-11-14 Thread Steven D'Aprano
On Tue, Nov 13, 2018 at 11:59:24PM -0500, Avi Gross wrote: > I have been thinking about the thread we have had where the job seemed to be > to read in a log file and if some string was found, process the line before > it and generate some report. Is that generally correct? If that description is

[Tutor] look back comprehensively

2018-11-14 Thread Avi Gross
I have been thinking about the thread we have had where the job seemed to be to read in a log file and if some string was found, process the line before it and generate some report. Is that generally correct? The questioner suggested they needed both the entire file as one string but also as a

[Tutor] Request to join subscriber list

2018-11-14 Thread Dev Pratap Singh
Sir I am really excited to learn about programming languages and as python becoming very famous these days i just wanted a list of all commands of it. Please if you are able to send it ___ Tutor maillist - Tutor@python.org To unsubscribe or change

[Tutor] All of a sudden code started throwing errors

2018-11-14 Thread srinivasan
Dear Python Experts Could you please let me know why am I seeing the following errors as before this it was working consistently? root:~/qa/robot_tests# python3 -m robot --variable SIGNAL_LEVEL_THRESHOLD:-60 wifi_testing.robot

Re: [Tutor] best way to dynamically set class variables?

2018-11-14 Thread Pablo Lucena
I really like the idea of using Python to generate another .py file with the dynamic definitions taken into account. That way you separate the "hackery" into a single function or module, document how it works, and have it also annotate the dynamically generated python source containing the class

[Tutor] Cannot find reference 'bluetoothctl' in 'sh.py' less... (Ctrl+F1)

2018-11-14 Thread srinivasan
Dear Python Experts, As am newbie to python, I am planning to automate BT functionality test using Bluez "bluetoothctl" utility by writing python wrapper and robot framework integrated with Jenkins I came across the below link:

Re: [Tutor] Request to join subscriber list

2018-11-14 Thread Mats Wichmann
On 11/14/18 6:20 AM, Dev Pratap Singh wrote: > Sir > I am really excited to learn about programming languages and as python > becoming very famous these days i just wanted a list of all commands of it. > Please if you are able to send it these are the "official" documentation links:

[Tutor] (no subject)

2018-11-14 Thread Whitney Eichelberger via Tutor
I need help creating a weighted GPA calculator. I attempted to create one but I was unable to incorporate different leveled classes (College Prep, Honors, and AP). How can I incorporate those leveled classes into the calculator in order to get a final GPA

Re: [Tutor] All of a sudden code started throwing errors

2018-11-14 Thread Matt Wheeler
> On 14 Nov 2018, at 13:51, Peter Otten <__pete...@web.de> wrote: > > Diagnosis: you managed to remove your current working directory, probably > because you used os.chdir() to switch to a temporary directory and then > forgot to switch back. > > Solution: don't do that ;) > > I recommend

Re: [Tutor] GPA calculator

2018-11-14 Thread Cameron Simpson
On 14Nov2018 13:51, Whitney Eichelberger wrote: I need help creating a weighted GPA calculator. I attempted to create one but I was unable to incorporate different leveled classes (College Prep, Honors, and AP). How can I incorporate those leveled classes into the calculator in order to get a

Re: [Tutor] GPA calculator

2018-11-14 Thread David Rock
> On Nov 14, 2018, at 14:50, Cameron Simpson wrote: > > On 14Nov2018 13:51, Whitney Eichelberger > wrote: >> I need help creating a weighted GPA calculator. I attempted to create one >> but I was unable to incorporate different leveled classes (College Prep, >> Honors, and AP). How can I

Re: [Tutor] Cannot find reference 'bluetoothctl' in 'sh.py' less... (Ctrl+F1)

2018-11-14 Thread Steven D'Aprano
On Wed, Nov 14, 2018 at 04:15:57PM +0100, srinivasan wrote: [...] > $* pip3 install sh* You don't need to show every command you ran, if they worked successfully. We're volunteers, giving our own efforts for free, not being paid by the hour. The more irrelevant detail you drop in our laps,