How can I catch values from other def by flask???

fk26541598fk at fk26541598fk at
Wed Jul 2 11:43:28 CEST 2014

this is my code

def aa():
    if request.method=='POST':
        return value1
        return value2
    return 'it does not work'

def post_test(value1):
    value1='POST it works'
    return value1
def get_test(value2):
    value2='GET it works'

how can i catch post_test value1 to aa() return???

More information about the Python-list mailing list