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
> 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 7 August 2013 04:38, wrote:
> import random
>
>
>
> def room ():
No need for the space after "room".
> hp = 10
> while hp != 0:
"while hp:" would be idiomatic, but you probably want "while hp > 0"
if you allow negatives.
> random_Number = random.randint(1, 2)
You meant "ra
Joshua Landau wrote:
> while "asking for reponse":
> while "adventuring":
that's a funny way to say `while True:`...
--
By ZeD
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 07 Aug 2013 07:20:28 +0200, Vito De Tullio wrote:
> Joshua Landau wrote:
>
>
>> while "asking for reponse":
>
>> while "adventuring":
>
> that's a funny way to say `while True:`...
Funny, perhaps, the first time you see it, but way more informative than
the other way t
I wish I understood half of what you posted Dan. Time to hit the books
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 06 Aug 2013 22:42:42 -0700, snakeinmyboot wrote:
> I wish I understood half of what you posted Dan. Time to hit the books
So think about the "while" statement: it takes an expression (the part
before the colon) and a suite (the part after the colon and before the
next statement at the sa
David Barroso writes:
> I was wondering if someone could point me in the right direction. I would
> like to develop some scripts to manage Cisco routers and switches using
> XML. However, I am not sure where to start. Does someone have some
> experience working with XML, Schemas and things like t
"Lakshmipathi.G" writes:
> We have a server running a web-based terminal emulator (based on shellinabox
> for screen-casting check www.webminal.org) that allows users to learn
> simple bash commands. This Linux environment secured by things like quota,
> selinux,ulimit etc
>
> Now some users ar
wow everyone thanks for the feed back! i'll have to rewrite this with
everything you guys taught me. this makes ALOT more sense. :D
--
http://mail.python.org/mailman/listinfo/python-list
On 6 August 2013 20:42, Luca Cerone wrote:
> Hi Chris, thanks
>
>> Do you ever instantiate any A() objects? You're attempting to call an
>>
>> unbound method without passing it a 'self'.
>
> I have tried a lot of variations, instantiating the object, creating lambda
> functions that use the unbou
101 - 111 of 111 matches
Mail list logo