On Dec 19, 10:10 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> ElementTree is a good candidate for processing xml:
> http://effbot.org/zone/element.htm
> It provides a "natural" way to access elements and attributes, instead of
> writing the same handler again and again or using slow DOM
On Dec 19, 10:10 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> ElementTree is a good candidate for processing xml:
> http://effbot.org/zone/element.htm
> It provides a "natural" way to access elements and attributes, instead of
> writing the same handler again and again or using slow DOM
En Thu, 20 Dec 2007 00:46:50 -0300, Gary <[EMAIL PROTECTED]> escribió:
> 1) Is it best/more standard to read in, and parse the XML into some
> kind of Python hierarchy first, and then build the UI out of the data
> in that structure, or call out UI commands as say, callbacks from the
> parser live
On Dec 19, 7:01 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> Hi, Gary. Welcome to Python. I hope you will take some of the reaction
> you got as initiatory ribbing.
Thanks, Terry, and absolutely! You guys are quite tame compared to
some of the lions whose dens I've stumbled into on usenet. Yo
On Dec 19, 7:01 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> Hi, Gary. Welcome to Python. I hope you will take some of the reaction
> you got as initiatory ribbing.
Thanks, Terry, and absolutely! You guys are quite tame compared to
some of the lions whose dens I've stumbled into on usenet. Yo
On Dec 19, 6:44 pm, Ross Ridge <[EMAIL PROTECTED]>
wrote:
> Sam <[EMAIL PROTECTED]> wrote:
> >cmds.window(t='gwfUI Builder')
> >cmds.paneLayout(configuration='vertical3', ps=((1, 25, 100), (3, 20,
> >100)))
> >cmds.paneLayout(configuration='horizontal2')
> >cmds.frameLayout(l='Layouts')
On Dec 19, 6:44 pm, Ross Ridge <[EMAIL PROTECTED]>
wrote:
> Sam <[EMAIL PROTECTED]> wrote:
> >cmds.window(t='gwfUI Builder')
> >cmds.paneLayout(configuration='vertical3', ps=((1, 25, 100), (3, 20,
> >100)))
> >cmds.paneLayout(configuration='horizontal2')
> >cmds.frameLayout(l='Layouts')
On Dec 19, 3:50 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> You have been done a disservice
> by whoever wrote the Maya python bindings, as far as using this tool
> to improve your knowledge and understanding of Python goes.
No worries there. I'm definitely not using Maya as the way to learn
"Gary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Hi! I'd like to join the fray, as the person who posted that original
| LJ rant. First, some full disclosure, and stampings out of what seem
| to me to be misconceptions...
Hi, Gary. Welcome to Python. I hope you will take so
Sam <[EMAIL PROTECTED]> wrote:
>cmds.window(t='gwfUI Builder')
>cmds.paneLayout(configuration='vertical3', ps=((1, 25, 100), (3, 20,
>100)))
>cmds.paneLayout(configuration='horizontal2')
>cmds.frameLayout(l='Layouts')
>cmds.scrollLayout(cr=True)
>cmds.columnL
On Dec 19, 2007 4:05 PM, Gary <[EMAIL PROTECTED]> wrote:
>
>
> Chris Mellon writes:
> """It's interesting that the solutions "move away from the terrible
> abomination of a GUI toolkit" and "write Python wrappers that don't
> cause actual physical pain" never occur to him."""
>
> Oh, but they hav
On Dec 19, 3:19 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> The problem is that to everybody else in the world, indentation
> in Python represents control flow nesting, not GUI widget
> nesting.
Thanks, Grant. That's the first solid reasoning I've seen, and it's
tack of a containers, which can be thought of in 3D like this
> (example found online):
The problem is that to everybody else in the world, indentation
in Python represents control flow nesting, not GUI widget
nesting.
Even assuming people can learn new things (in my experience an
assumpti
Hi! I'd like to join the fray, as the person who posted that original
LJ rant. First, some full disclosure, and stampings out of what seem
to me to be misconceptions...
1) I am not a CS major. I majored in Computer Animation at an art
college. I'm quite well aware that I don't know all there is to
Hi! I'd like to join the fray, as the person who posted that original
LJ rant. First, some full disclosure, and stampings out of what seem
to me to be misconceptions...
1) I am not a CS major. I majored in Computer Animation at an art
college. I'm quite well aware that I don't know all there is to
On Dec 19, 2007 10:46 AM, Sam <[EMAIL PROTECTED]> wrote:
> On Dec 19, 11:09 am, gDog <[EMAIL PROTECTED]> wrote:
> > Hi, Sam-
> >
> > I'm not wanting to start a flame war, either, but may I ask why does
> > your friend want to do that? I'm always intrigued by the folks who
> > object to the indenta
On Dec 19, 11:09 am, gDog <[EMAIL PROTECTED]> wrote:
> Hi, Sam-
>
> I'm not wanting to start a flame war, either, but may I ask why does
> your friend want to do that? I'm always intrigued by the folks who
> object to the indentation rules in Python, even though I've always
> tried to keep consist
Hi, Sam-
I'm not wanting to start a flame war, either, but may I ask why does
your friend want to do that? I'm always intrigued by the folks who
object to the indentation rules in Python, even though I've always
tried to keep consistent indentation in all the languages I've used
(and I've been at
On 2007-12-19, Jonathan Gardner <[EMAIL PROTECTED]> wrote:
> On Dec 18, 2:16 pm, Sam <[EMAIL PROTECTED]> wrote:
>> layouts = ['column', 'form', 'frame']
>> cmds.window(t='gwfUI Builder')
>> cmds.paneLayout(configuration='vertical3', ps=((1, 25, 100), (3, 20,
>> 100)))
>> cmds.paneLayout(configu
On Dec 18, 5:18 pm, Sam <[EMAIL PROTECTED]> wrote:
> On Dec 18, 7:09 pm, Jonathan Gardner
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > On Dec 18, 2:16 pm, Sam <[EMAIL PROTECTED]> wrote:
>
> > > layouts = ['column', 'form', 'frame']
> > > cmds.window(t='gwfUI Builder')
> > > cmds.paneLayout(configuration=
On Dec 18, 7:09 pm, Jonathan Gardner
<[EMAIL PROTECTED]> wrote:
> On Dec 18, 2:16 pm, Sam <[EMAIL PROTECTED]> wrote:
>
>
>
> > layouts = ['column', 'form', 'frame']
> > cmds.window(t='gwfUI Builder')
> > cmds.paneLayout(configuration='vertical3', ps=((1, 25, 100), (3, 20,
> > 100)))
> > cmds.pa
On Dec 18, 5:28 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2007-12-18, Sam <[EMAIL PROTECTED]> wrote:
>
>
>
> > A friend of mine is picking up some Python and is frustrated by
> > Python's indentation rules (http://greatbiggary.livejournal.com/
> > 260460.html?thread=1835884#t1835884). Pers
On Dec 18, 2:16 pm, Sam <[EMAIL PROTECTED]> wrote:
> layouts = ['column', 'form', 'frame']
> cmds.window(t='gwfUI Builder')
> cmds.paneLayout(configuration='vertical3', ps=((1, 25, 100), (3, 20,
> 100)))
> cmds.paneLayout(configuration='horizontal2')
> cmds.frameLayout(l='Layouts')
>
On 2007-12-18, Sam <[EMAIL PROTECTED]> wrote:
> A friend of mine is picking up some Python and is frustrated by
> Python's indentation rules (http://greatbiggary.livejournal.com/
> 260460.html?thread=1835884#t1835884). Personally, I've never had any
> issues with Python's ways of indentation, but
A friend of mine is picking up some Python and is frustrated by
Python's indentation rules (http://greatbiggary.livejournal.com/
260460.html?thread=1835884#t1835884). Personally, I've never had any
issues with Python's ways of indentation, but that conversation got me
thinking about the issue.
Co
Dan Bishop wrote:
> On Jan 13, 8:49 pm, "lee" <[EMAIL PROTECTED]> wrote:
>> Can anyone tell me the basics about indentation in python..how we
>> use it in loops and constructs..etc
>
> It's just like indentation in other languages, except that it
On Jan 13, 8:49 pm, "lee" <[EMAIL PROTECTED]> wrote:
> Can anyone tell me the basics about indentation in python..how we
> use it in loops and constructs..etc
It's just like indentation in other languages, except that it's
syntactically required.
--
lee wrote:
> Can anyone tell me the basics about indentation in python..how we
> use it in loops and constructs..etc
http://docs.python.org/tut/node5.html#SECTION00520
--
http://mail.python.org/mailman/listinfo/python-list
Can anyone tell me the basics about indentation in python..how we
use it in loops and constructs..etc
--
http://mail.python.org/mailman/listinfo/python-list
29 matches
Mail list logo