Skip to content

Instantly share code, notes, and snippets.

@carasuca
Forked from malleor/A.py
Created January 15, 2013 12:07
Show Gist options
  • Save carasuca/4538171 to your computer and use it in GitHub Desktop.
Save carasuca/4538171 to your computer and use it in GitHub Desktop.
from frames import script
@script
def A(a=3, b=5):
''' A returns bollox. '''
print 'Hello, framework.'
try:
args = {'a': 5}
x = execute('A', **args)
print type(x['foo'])
except
y = execute('B', bar='kwusdbcd', foo=x['foo']*2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment