On 9 August 2013 14:28, snakeinmyboot wrote:
> On Thursday, August 8, 2013 1:13:48 AM UTC-4, David wrote:
>> On 8 August 2013 14:06, snakeinmyboot wrote:
>>
>> Did you try at all to find the answer to this yourself?
>>
>> I ask because it took me only a few seconds to go to wikipedia and
>> searc
On Thursday, August 8, 2013 1:13:48 AM UTC-4, David wrote:
> On 8 August 2013 14:06, snakeinmyboot wrote:
>
> >
>
> > for REAL you guys...wtf does this even mean lol. what is a boilerplate test
> > code?
>
>
>
> Did you try at all to find the answer to this yourself?
>
>
>
> I ask because
On 8 August 2013 14:06, snakeinmyboot wrote:
>
> for REAL you guys...wtf does this even mean lol. what is a boilerplate test
> code?
Did you try at all to find the answer to this yourself?
I ask because it took me only a few seconds to go to wikipedia and
search for "boilerplate" find this for
>if __name__ == '__main__':
> root = tkinter.Tk()
> app = MainClass(root) # 'MainClass' depends on the module.
> root.mainloop
> root.destroy
for REAL you guys...wtf does this even mean lol. what is a boilerplate test
code?
--
http://mail.python.org/mailman/listinfo/python-list
Terry Reedy wrote:
> Code comments :
>
> double and triple spacing code
> make it painful to read,
Not for everyone :-)
I prefer mostly double-spaced code
in any language
> especially in a 10 line box.
Agree, but the 10 line box
would not be used for routin
> Make the boilerplate test code conditional, something like
>
>
>
> if __name__ == '__main__':
>
> root = tkinter.Tk()
>
> app = MainClass(root) # 'MainClass' depends on the module.
>
> root.mainloop
>
> root.destroy
>
>
>
Could you elaborate on this a little bit? Never even
On Tuesday, August 6, 2013 7:38:55 PM UTC-4, Terry Reedy wrote:
> On 8/6/2013 6:28 PM, snakeinmyboot wrote:
>
> > Hello,
>
> >
>
> > I am currently just starting to learn the basics of the tkinter module and
> > ive run into a problem. To teach myself I am messing around by creating
> > separa
On 8/6/2013 6:28 PM, snakeinmyboot wrote:
Hello,
I am currently just starting to learn the basics of the tkinter module and ive
run into a problem. To teach myself I am messing around by creating separate
modules containing basic GUI apps like a tip calculator and kilometer
converter, then cr
Hello,
I am currently just starting to learn the basics of the tkinter module and ive
run into a problem. To teach myself I am messing around by creating separate
modules containing basic GUI apps like a tip calculator and kilometer
converter, then creating a main program that displays buttons