Re: [Tutor] asyncio or threading

2016-02-15 Thread Danny Yoo
> I just wanted an opinion on the subject, asyncio and threading both seem to > do the same job, but i feel threading is better because of the multiple ways > i can control it. > > Just want get the groups opinion based on there experience in using asyncio > or threading in real life problems. I

Re: [Tutor] What do each of these functions do?

2016-02-15 Thread Danny Yoo
On Mon, Feb 15, 2016 at 4:00 PM, Tom Brodle wrote: > What do the following two lines of code do, individually, and where in the > code does the pointer or (program counter) end up after it has finished that > line, assuming it is the last line of code in each of two programs? > > GPIO.cleanup(

Re: [Tutor] asyncio or threading

2016-02-15 Thread Alan Gauld
On 15/02/16 21:08, Zachary Ware wrote: > This isn't quite accurate. asyncio only uses threading if you explicitly > tell it to use a thread for something, otherwise everything is run in > coroutines in the main thread, Thanks for that, my asyncio tutorial was obviously seriously one sided, it ma

[Tutor] What do each of these functions do?

2016-02-15 Thread Tom Brodle
I have requested help related to a program before, but did not see an answer. I am new to the communicating with "tutor", IE I may have missed the answer. This time I will simplify my inquiry. My previous programming has been with "Basic", so please give me a break. What do the following two li

Re: [Tutor] asyncio or threading

2016-02-15 Thread Zachary Ware
On Feb 15, 2016 1:25 PM, "Alan Gauld" wrote: > > On 15/02/16 13:09, CMG Thrissur wrote: > > > I just wanted an opinion on the subject, asyncio and threading both seam > > to do the same job, but i feel threading is better because of the > > multiple ways i can control it. > > They do similar jobs

Re: [Tutor] asyncio or threading

2016-02-15 Thread Zachary Ware
On Feb 15, 2016 1:12 PM, "CMG Thrissur" wrote: > > Hello, > > I just wanted an opinion on the subject, asyncio and threading both seam to do the same job, but i feel threading is better because of the multiple ways i can control it. > > Just want get the groups opinion based on there experience in

Re: [Tutor] asyncio or threading

2016-02-15 Thread Alan Gauld
On 15/02/16 13:09, CMG Thrissur wrote: > I just wanted an opinion on the subject, asyncio and threading both seam > to do the same job, but i feel threading is better because of the > multiple ways i can control it. They do similar jobs but asyncio uses threading in the background and I believe

[Tutor] asyncio or threading

2016-02-15 Thread CMG Thrissur
Hello, I just wanted an opinion on the subject, asyncio and threading both seam to do the same job, but i feel threading is better because of the multiple ways i can control it. Just want get the groups opinion based on there experience in using asyncio or threading in real life problems.

Re: [Tutor] tk Radiobutton example

2016-02-15 Thread Alan Gauld
On 14/02/16 23:42, paul.hermeneu...@gmail.com wrote: > On page 20, the variable curRad is set to a string then to a > Radiobutton. What is the purpose of setting curRad to a string? > > for col in range(3): # 3 > curRad = 'rad' + str(col) > curRad = tk.Radiobutton(win, text=colors[col], v

Re: [Tutor] tk Radiobutton example

2016-02-15 Thread Peter Otten
paul.hermeneu...@gmail.com wrote: > +I am working through "Python GUI Programming Cookbook" by Burkhard Meier. > https://www.packtpub.com/application-development/python-gui-programming-cookbook > > On page 20, the variable curRad is set to a string then to a > Radiobutton. What is the purpose of

[Tutor] tk Radiobutton example

2016-02-15 Thread paul . hermeneutic
+I am working through "Python GUI Programming Cookbook" by Burkhard Meier. https://www.packtpub.com/application-development/python-gui-programming-cookbook On page 20, the variable curRad is set to a string then to a Radiobutton. What is the purpose of setting curRad to a string? for col in range