Skip to content

import file in python #139

Description

@hectorchanht

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions