Jump to content

amserver

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by amserver

  1. Hi there, I'm in Johnny server. I followed how to start flask app in the server. I'm just wondering how to import function from the cloudapi.py to the myapp.py, for example:

     

    file: myapp.py

     

    from cloudapi import *

     

     

    Structure of the folder in

    /home/mowaseem/public_html/flask/

                        |

                        |_____ .htaccess

                        |

                        |_____ cloudapi.py    

                        |

                        |_____ flask.wsgi

                        |

                        |_____ myapp.py

                        |

                        |_____ settings.conf

     

     

×
×
  • Create New...