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 = Label(bg
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)
label[item
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
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 mailin
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)
>
On 28/09/16 01:25, Ben Finney wrote:
> Alan Gauld via Tutor writes:
>
>> I'm not sure if they are up to 3.5 yet or not but the easiest way is
>> just to grab a full distro such as Anaconda or Canopy. Google is your
>> friend.
>
> I do wish that meme would die. Google is many things, but it is *n
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']
>
> > en
Ignore this I have done it.
Thanks
Niraj
On Wed, Sep 28, 2016 at 12:30 PM, niraj pandey
wrote:
> Found the solution for this .
>
> entry_option = ['Flat_No','Mains Unit','DG Unit','Month']
>
> r = 0
> entry = {}
> label = {}
> for item in entry_option:
> lb = La
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
___