Re: [Tutor] Need help

2016-09-28 Thread niraj pandey
Thanks Peter for the help. Best Regards Niraj On Wed, Sep 28, 2016 at 2:47 PM, Peter Otten <__pete...@web.de> wrote: > niraj pandey wrote: > > > Found the solution for this. > > You can further simplifiy it with enumerate() > > entry_option = ['Flat_No','Mains Unit','DG Unit','Month'] > > >

Re: [Tutor] NumPy and SciPy

2016-09-28 Thread Steven D'Aprano
On Tue, Sep 27, 2016 at 03:23:23PM +, Floeck, Thomas wrote: > Hi there, > > you have an idea where I can find NumPy and SciPy windows *.exe-files > for Python 3.5? Why does it have to be an .exe file? http://www.scipy.org/install.html -- Steve

[Tutor] Need help

2016-09-28 Thread niraj pandey
Hi, I am new in python. Could you guys please help me to short this code ? Want to write this iteration (Yellow one) using loop. r = 0 L1 = Label(bg = 'orange', text="Flat_No", relief=RIDGE,width=30) L1.grid(row=0,column=0) E1 = Entry(relief=SUNKEN,width=30) E1.grid(row=0,column=1) L2 =

Re: [Tutor] differences between map and partial?

2016-09-28 Thread source liu
Hi, Danny, Thank you for your reply I checked the mail, the attachment is attached, i don't know why you can't see it ( I change the extension of .tar.gz to .tar.gz_src, as gmail can't pass the security check of the .tar.gz) I would like to inline the code as well as attached again( the are

Re: [Tutor] Need help

2016-09-28 Thread niraj pandey
Found the solution for this . entry_option = ['Flat_No','Mains Unit','DG Unit','Month'] r = 0 entry = {} label = {} for item in entry_option: lb = Label(bg = 'orange', text=item, relief=RIDGE,width=30) lb.grid(row=r,column=0)

Re: [Tutor] Need help

2016-09-28 Thread Peter Otten
niraj pandey wrote: > Found the solution for this. You can further simplifiy it with enumerate() > entry_option = ['Flat_No','Mains Unit','DG Unit','Month'] > entry = {} > label = {} for r, item in enumerate(entry_option): > lb = Label(bg = 'orange', text=item, relief=RIDGE,width=30) >

Re: [Tutor] differences between map and partial?

2016-09-28 Thread Peter Otten
source liu wrote: > Hi, Danny, > > > Thank you for your reply > > I checked the mail, the attachment is attached, i don't know why you > can't see it ( I change the extension of .tar.gz to .tar.gz_src, as > gmail can't pass the security check of the .tar.gz) They are stripped off by the