Python Syntax and PPG Layouts 2005-06-15 - By Patrick Boucher
Back It's a bit foggy in my mind but I remember Kim a while back mentioning that he'd like to arbitrarily indent Python code to help him visualize PPG Layout code that included groups or tabs.
Is this right Kim or am I totally lost. Anyway. If there hadn't been an answer (or even a question) at the time, here is one now...
varA = 'Help'; \ varB = 'me!'; \ varC = 'Weird' varD = 'indentation!'
In Python the ; is optional and \ wraps long lines. If you're desperate, mix both and you've got arbitrary indentation.
-- Patrick Boucher TD - Coder - Resident geek Buzz Image Group Tel 514.848.0579 Fax 514.848.6371
www.buzzimage.com www.xsi-blog.com --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|