Re: [Tutor] invalid syntax error in Run Run Module

2016-02-17 Thread Alan Gauld
On 17/02/16 15:45, Lisa Hasler Waters wrote: > -When we try to select Run Run Module - we get the error message "invalid > syntax," which points to the number 5 in Python 3.5.1 OK, that probably means you are trying to run the Python shell window which is the wrong thing to do. Run module is for

Re: [Tutor] asyncio or threading

2016-02-17 Thread Alan Gauld
On 16/02/16 01:18, Alan Gauld wrote: Following up on my post. That's rarely a good thing :-( > Thanks for that, my asyncio tutorial was obviously seriously > one sided, it made no mention of coroutines but did promise > threading. I went back and looked again, it did mention coroutines, I was o

[Tutor] invalid syntax error in Run Run Module

2016-02-17 Thread Lisa Hasler Waters
Dear Python Tutor List, We (my students and myself, the teacher -- all of us are new to Python & coding) keep getting an error message when we try to Run Run Module from IDLE. Here are the details: -We are using MacBooks, running OX 10.11, 64-bit -We have downloaded Python 3.5.1 -When we try to s

Re: [Tutor] really basic - finding multiline chunk within larger chunk

2016-02-17 Thread bruce
hmm... Ok. For some reason, it appears to be a whitespace issue, which is what I thought. The basic process that was used to get the subchunk to test for, was to actually do a copy/cut/paste of the subtext from the master text, and then to write the code to test. Yeah, testing for "text" with w

Re: [Tutor] asyncio or threading

2016-02-17 Thread Oscar Benjamin
On 16 February 2016 at 02:24, Danny Yoo wrote: > > where we pass function objects around to the function that will take a > long time to finish its work. We expect our callback functions to be > "called back" later by some party after some point. In many > asynchronous I/O systems, the responsib

Re: [Tutor] How to calculate high value from multiple lines for each column

2016-02-17 Thread Alan Gauld
On 16/02/16 22:28, Fosiul Alam wrote: > Hi > I am very new to python, basically , I want to get the Maximum value for > each column > > 0.000 0.000 0.0000 > (0.0%) 0.000 0.600 > 0.000 3.000 6.00

Re: [Tutor] Hello! Questions

2016-02-17 Thread Alan Gauld
On 16/02/16 20:19, Marco Soldavini wrote: > Is this the right place to knock down problems one by one? Yes, although we are limited in scope to Python language and standard library so for anything specific to openopc you will probably need to ask on its support forum/list. > I already tested thi

Re: [Tutor] (no subject)

2016-02-17 Thread Alan Gauld
On 16/02/16 22:32, taylor hansen wrote: > I have to type from myro import* and whenever I do that, > it says that there is no module named myro. myro is not a standard module so you need to install it from somewhere. Presumably your school can give you directions on that? For future reference p

[Tutor] Hello! Questions

2016-02-17 Thread Marco Soldavini
Hi, I am almost new to python and I am trying to build a not so easy app (but very neat and useful) related to industrial automation. Is this the right place to knock down problems one by one? Basically my app has several interactions but the most important is reading values from an embedded machi

[Tutor] Hello! Questions

2016-02-17 Thread Marco Soldavini
I hit the send button too early. anyway Basically something like while (stop condition false) read data write data into local array or something wait sample time Thanks marco ___ Tutor maillist - Tutor@python.org To unsubscribe or change

[Tutor] (no subject)

2016-02-17 Thread taylor hansen
Hi, I have to use Python 2 for school and I can’t seem to get it to work properly. I have to type from myro import* and whenever I do that, it says that there is no module named myro. I have been trying to get this to work for a couple days now. Thank you, Taylor ___

[Tutor] How to calculate high value from multiple lines for each column

2016-02-17 Thread Fosiul Alam
Hi I am very new to python, basically , I want to get the Maximum value for each column 0.000 0.000 0.0000 (0.0%) 0.000 0.600 0.000 3.000 6.0001 (0.0%) 0.300 0.000