Skip to content

import file in python #139

@hectorchanht

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions