Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import file in python #139

Open
hectorchanht opened this issue Sep 2, 2020 · 0 comments
Open

import file in python #139

hectorchanht opened this issue Sep 2, 2020 · 0 comments

Comments

@hectorchanht
Copy link

the problem is: how to import python file? flask promt 'Internal Server Error'

error:
TypeError: The view function did not return a valid response. The function either returned None or ended without a r
eturn statement.

folder 'aa' is added to .zeroignore

there is handler() inside ee.py.
cc1,cc2,cc3 have the same function named job()

how can i execute job() from cc1/cc2/cc3 dynamically by callin .../dd/ee

root
-> aa/
-> cc1.py
-> cc2.py
-> cc4.py
-> dd/
-> ee.py

ps. every layer contains init.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant