Allowing Arbitrary Indentation in Python

Grant Edwards grante at visi.com
Tue Dec 18 22:09:53 EST 2007


On 2007-12-19, Jonathan Gardner <jgardner.jonathangardner.net at gmail.com> wrote:
> On Dec 18, 2:16 pm, Sam <L33tmin... at gmail.com> 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')
>>             cmds.scrollLayout(cr=True)
>>                 cmds.columnLayout(adj=True, cat=('both', 2))
>>                     for i in layouts:
>>                         cmds.button(l=i)
>>                 cmds.setParent('..')
>>             cmds.setParent('..')
>>         cmds.setParent('..')
>>     cmds.setParent('..')
>> cmds.setParent('..')
>> cmds.showWindow()
>>
>
> While Grant is pulling his hair out and yelling obscenities at the
> moon,

Damn.  I thought that webcam was shut off...

-- 
Grant




More information about the Python-list mailing list