Re: [Tutor] question about metaclasses

2018-01-13 Thread Steven D'Aprano
On Wed, Jan 10, 2018 at 07:29:58PM +0100, Peter Otten wrote: [...] > elif not isinstance(obj, property): > attrs[attr] = property(lambda self, obj=obj: obj) > PS: If you don't remember why the obj=obj is necessary: > Python uses late binding; without that trick all

Re: [Tutor] Installing python and numpy on the Mac (OSX)

2018-01-13 Thread giacomo . boffi
Peter Hodges writes: > Hi. I downloaded Python 3.6 from the python site, then followed online > directions for pip to install numpy (in users? —user was in the > example). > When I start IDLE in the Python 3.6 in Applications and then type > import numpy as np I get the

Re: [Tutor] python gui Tkinter

2018-01-13 Thread Alan Gauld via Tutor
On 13/01/18 12:05, mamatha n wrote: > please any one give me the code for We don't write code for you (unless you want to pay one of us as a contractor) But we can point you at some examples: > username (entryfld)- > pwrd (entryfld) > login(button),changepwrd(button) So far very

Re: [Tutor] python gui Tkinter

2018-01-13 Thread Mark Lawrence
On 13/01/18 12:05, mamatha n wrote: please any one give me the code for username (entryfld)- pwrd (entryfld) login(button),changepwrd(button) virtualkeyboard-user has to be use dis keyboard once click on login button regester page open register page content 1.emply

[Tutor] python gui Tkinter

2018-01-13 Thread mamatha n
please any one give me the code for username (entryfld)- pwrd (entryfld) login(button),changepwrd(button) virtualkeyboard-user has to be use dis keyboard once click on login button regester page open register page content 1.emply name(entryfld) 2.emply

Re: [Tutor] Graphical/web program

2018-01-13 Thread Alan Gauld via Tutor
On 13/01/18 05:15, Pat Martin wrote: > I was thinking of turning this into a web app (one that is just run on my > local machine) something like have a form with text box, checkbox and > radio buttons for the options/flags. > > My question is, is something like that practical? Will I be able to