maybe this is like decorators<br clear="all">-Alex Goretoy<br><a href="http://www.goretoy.com">http://www.goretoy.com</a><br><br>
<br><br><div class="gmail_quote">On Sun, Mar 15, 2009 at 2:20 AM, alex goretoy <span dir="ltr"><<a href="mailto:aleksandr.goretoy@gmail.com">aleksandr.goretoy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
or use . (dot) where variable and () (parans) where function<br><br>duck()().<br>or<br>duck.().()<br>or<br>for long sentences<br>duck.[].()()...<br><br>using dot seperator or double dot separator for application where its currently not being used, but for syntax errors<div class="im">
<br clear="all">
-Alex Goretoy<br><a href="http://www.goretoy.com" target="_blank">http://www.goretoy.com</a><br><br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Sun, Mar 15, 2009 at 2:15 AM, alex goretoy <span dir="ltr"><<a href="mailto:aleksandr.goretoy@gmail.com" target="_blank">aleksandr.goretoy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
actually it would be more like<br><br>import os<br>def quacks(value):<br>    return "%s/%s%s"% (os.environ["PWD"],os.path.dirname(__file__),value)<br>_aduck="goose"<br>duck = if is not os.path.exists quacks str(_aduck)<br>


<br><br>to perform the calls<br>duck()()<br><br>this would only with with functions that return something though, I believe....<div><br><br><br clear="all">-Alex Goretoy<br><a href="http://www.goretoy.com" target="_blank">http://www.goretoy.com</a><br>


<br>
<br><br></div><div><div></div><div><div class="gmail_quote">On Sun, Mar 15, 2009 at 2:08 AM, alex goretoy <span dir="ltr"><<a href="mailto:aleksandr.goretoy@gmail.com" target="_blank">aleksandr.goretoy@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>import os<br>def quacks(self,value):<br>    return (1,0)[value]<br>_aduck="~/goose"<br>duck = if os.path.exists quacks str(_aduck)<br>duck()()</div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>