/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# in this example TestingA.py is in the modules folder exec('from applications.%s.modules import TestingA as ta' % request.application) reload(ta) # for devel only result = ta.Calc() return result